home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Eyewitness: Encyclopedia of Nature
/
Mac_DorlingKindersley_EyewitnessEncyclopediaOfNature.iso
/
System Software
/
Sound Manager
/
Sound Manager.rsrc
/
bin.rsrc_proc_-16498.txt
< prev
next >
Wrap
Text File
|
1993-07-19
|
145KB
|
2,650 lines
start:
00000000 A9FF syscall Debugger
00000002 7072 moveq.l D0, 0x72
00000004 6F63 ble +0x65 /* 00000069 */
00000006 BF8E cmpm.l [A7]+, [A6]+
00000008 0001 0001 ori.b D1, 0x1
0000000C 0004 02C2 ori.b D4, 0xC2
00000010 0376 0448 bchg [A6 + D0.w * 4 + 0x48], D1
00000014 2069 0008 movea.l A0, [A1 + 0x8]
00000018 42A8 0084 clr.l [A0 + 0x84]
0000001C 600C bra +0xE /* 0000002A */
0000001E 2069 0008 movea.l A0, [A1 + 0x8]
00000022 217C 0000 0001 0084 move.l [A0 + 0x84], 0x1
label0000002A:
0000002A 48E7 0022 movem.l -[A7], A2,A6
0000002E 4A29 0001 tst.b [A1 + 0x1]
00000032 661A bne +0x1C /* 0000004E */
00000034 4AA8 0084 tst.l [A0 + 0x84]
00000038 6606 bne +0x8 /* 00000040 */
0000003A 4868 00D6 pea.l [A0 + 0xD6]
0000003E 6004 bra +0x6 /* 00000044 */
label00000040:
00000040 4868 010A pea.l [A0 + 0x10A]
label00000044:
00000044 2F08 move.l -[A7], A0
00000046 4EBA 0068 jsr [PC + 0x68 /* 000000B0 */]
0000004A 508F addq.l A7, 8
0000004C 6018 bra +0x1A /* 00000066 */
label0000004E:
0000004E 4A29 0004 tst.b [A1 + 0x4]
00000052 670C beq +0xE /* 00000060 */
00000054 2F29 0018 move.l -[A7], [A1 + 0x18]
00000058 4EBA 0178 jsr [PC + 0x178 /* 000001D2 */]
0000005C 588F addq.l A7, 4
0000005E 6006 bra +0x8 /* 00000066 */
label00000060:
00000060 137C 0001 0004 move.b [A1 + 0x4], 0x1
label00000066:
00000066 4CDF 4400 movem.l A2,A6, [A7]+
0000006A 4E75 rts
fn0000006C:
0000006C 4E56 0000 link A6, 0
00000070 48E7 F080 movem.l -[A7], D0,D1,D2,D3,A0
00000074 242E 000C move.l D2, [A6 + 0xC]
00000078 206E 0008 movea.l A0, [A6 + 0x8]
0000007C 223C 8080 8080 move.l D1, 0x80808080
00000082 4A38 012F tst.b [0x0000012F /* CPUFlag */]
00000086 6606 bne +0x8 /* 0000008E */
00000088 2008 move.l D0, A0
0000008A E248 lsr D0.w, 1
0000008C 6516 bcs +0x18 /* 000000A4 */
label0000008E:
0000008E 2002 move.l D0, D2
00000090 6002 bra +0x4 /* 00000094 */
label00000092:
00000092 B398 xor.l [A0]+, D1
label00000094:
00000094 5980 subq.l D0, 4
00000096 6CFA bge -0x4 /* 00000092 */
00000098 0282 0000 0003 andi.l D2, 0x3
0000009E 6708 beq +0xA /* 000000A8 */
000000A0 6002 bra +0x4 /* 000000A4 */
label000000A2:
000000A2 B318 xor.b [A0]+, D1
label000000A4:
000000A4 5382 subq.l D2, 1
000000A6 6CFA bge -0x4 /* 000000A2 */
label000000A8:
000000A8 4CDF 010F movem.l D0,D1,D2,D3,A0, [A7]+
000000AC 4E5E unlink A6
000000AE 4E75 rts
fn000000B0:
000000B0 4E56 0000 link A6, 0
000000B4 48E7 3C3C movem.l -[A7], D2,D3,D4,D5,A2,A3,A4,A5
000000B8 2A6E 0008 movea.l A5, [A6 + 0x8]
000000BC 286E 000C movea.l A4, [A6 + 0xC]
000000C0 226D 00D0 movea.l A1, [A5 + 0xD0]
000000C4 242D 0080 move.l D2, [A5 + 0x80]
000000C8 266D 007C movea.l A3, [A5 + 0x7C]
000000CC B48B cmp.l D2, A3
000000CE 621E bhi +0x20 /* 000000EE */
000000D0 2642 movea.l A3, D2
000000D2 137C 0001 0001 move.b [A1 + 0x1], 0x1
000000D8 41ED 00BC lea.l A0, [A5 + 0xBC]
000000DC 302C FFFE move.w D0, [A4 - 0x2]
000000E0 E540 asl D0.w, 2
000000E2 2070 0000 movea.l A0, [A0 + D0.w]
000000E6 00A8 0000 0004 0004 ori.l [A0 + 0x4], 0x4
label000000EE:
000000EE 302D 006C move.w D0, [A5 + 0x6C]
000000F2 48C0 ext.l D0
000000F4 2F00 move.l -[A7], D0
000000F6 2F0B move.l -[A7], A3
000000F8 4EBA 0164 jsr [PC + 0x164 /* 0000025E */]
000000FC 508F addq.l A7, 8
000000FE 2940 0024 move.l [A4 + 0x24], D0
00000102 42AC 0028 clr.l [A4 + 0x28]
00000106 220B move.l D1, A3
00000108 93AD 0080 sub.l [A5 + 0x80], D1
0000010C 41ED 00BC lea.l A0, [A5 + 0xBC]
00000110 302C FFFE move.w D0, [A4 - 0x2]
00000114 E540 asl D0.w, 2
00000116 2070 0000 movea.l A0, [A0 + D0.w]
0000011A D0FC 0010 add.w A0, 0x10
0000011E 2948 0020 move.l [A4 + 0x20], A0
00000122 426C 0010 clr.w [A4 + 0x10]
00000126 204C movea.l A0, A4
00000128 A402 syscall Read, flags=4
0000012A 4CDF 3C3C movem.l D2,D3,D4,D5,A2,A3,A4,A5, [A7]+
0000012E 4E5E unlink A6
00000130 4E75 rts
fn00000132:
00000132 2248 movea.l A1, A0
00000134 5589 subq.l A1, 2
00000136 0C51 0000 cmpi.w [A1], 0x0
0000013A 6604 bne +0x6 /* 00000140 */
0000013C 5989 subq.l A1, 4
0000013E 6004 bra +0x6 /* 00000144 */
label00000140:
00000140 92FC 0038 sub.w A1, 0x38 /* '8' */
label00000144:
00000144 2251 movea.l A1, [A1]
00000146 4E75 rts
00000148 48E7 FFFE movem.l -[A7], D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4,A5,A6
0000014C 2848 movea.l A4, A0
0000014E 4EBA FFE2 jsr [PC - 0x1E /* 00000132 */]
00000152 2469 0008 movea.l A2, [A1 + 0x8]
00000156 2649 movea.l A3, A1
00000158 0C6C 0000 0010 cmpi.w [A4 + 0x10], 0x0
0000015E 6712 beq +0x14 /* 00000172 */
00000160 177C 0001 0001 move.b [A3 + 0x1], 0x1
00000166 7000 moveq.l D0, 0x00
00000168 0C6C FFD9 0010 cmpi.w [A4 + 0x10], 0xFFD9
0000016E 6702 beq +0x4 /* 00000172 */
00000170 6034 bra +0x36 /* 000001A6 */
label00000172:
00000172 4A2B 0005 tst.b [A3 + 0x5]
00000176 671C beq +0x1E /* 00000194 */
00000178 4A6A 0052 tst.w [A2 + 0x52]
0000017C 6616 bne +0x18 /* 00000194 */
0000017E 0C6A 0008 0046 cmpi.w [A2 + 0x46], 0x8
00000184 660E bne +0x10 /* 00000194 */
00000186 2F2C 0028 move.l -[A7], [A4 + 0x28]
0000018A 2F2C 0020 move.l -[A7], [A4 + 0x20]
0000018E 4EBA FEDC jsr [PC - 0x124 /* 0000006C */]
00000192 508F addq.l A7, 8
label00000194:
00000194 302A 006C move.w D0, [A2 + 0x6C]
00000198 48C0 ext.l D0
0000019A 2F00 move.l -[A7], D0
0000019C 2F2C 0028 move.l -[A7], [A4 + 0x28]
000001A0 4EBA 00FC jsr [PC + 0xFC /* 0000029E */]
000001A4 508F addq.l A7, 8
label000001A6:
000001A6 4DEA 00BC lea.l A6, [A2 + 0xBC]
000001AA 322C FFFE move.w D1, [A4 - 0x2]
000001AE E541 asl D1.w, 2
000001B0 2C76 1000 movea.l A6, [A6 + D1.w]
000001B4 2C80 move.l [A6], D0
000001B6 4A6C 0010 tst.w [A4 + 0x10]
000001BA 6708 beq +0xA /* 000001C4 */
000001BC 00AE 0000 0004 0004 ori.l [A6 + 0x4], 0x4
label000001C4:
000001C4 00AE 0000 0001 0004 ori.l [A6 + 0x4], 0x1
000001CC 4CDF 7FFF movem.l D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4,A5,A6, [A7]+
000001D0 4E75 rts
fn000001D2:
000001D2 226F 0004 movea.l A1, [A7 + 0x4]
000001D6 2269 0004 movea.l A1, [A1 + 0x4]
000001DA 43E9 006A lea.l A1, [A1 + 0x6A]
000001DE 2069 0008 movea.l A0, [A1 + 0x8]
000001E2 4A29 0005 tst.b [A1 + 0x5]
000001E6 670E beq +0x10 /* 000001F6 */
000001E8 41E8 00D6 lea.l A0, [A0 + 0xD6]
000001EC 4268 0010 clr.w [A0 + 0x10]
000001F0 4EBA 0014 jsr [PC + 0x14 /* 00000206 */]
000001F4 600E bra +0x10 /* 00000204 */
label000001F6:
000001F6 43FA 000E lea.l A1, [PC + 0xE /* 00000206, value 0x48E70010 */]
000001FA 2149 00E2 move.l [A0 + 0xE2], A1
000001FE 41E8 00D6 lea.l A0, [A0 + 0xD6]
00000202 A401 syscall Close, flags=4
label00000204:
00000204 4E75 rts
fn00000206:
00000206 48E7 0010 movem.l -[A7], A3
0000020A 4EBA FF26 jsr [PC - 0xDA /* 00000132 */]
0000020E 2649 movea.l A3, A1
00000210 2F2B 0018 move.l -[A7], [A3 + 0x18]
00000214 4EBA 15F2 jsr [PC + 0x15F2 /* 00001808 */]
00000218 588F addq.l A7, 4
0000021A 246B 0020 movea.l A2, [A3 + 0x20]
0000021E B4FC 0000 cmpa.w A2, 0x0
00000222 670A beq +0xC /* 0000022E */
00000224 2F2B 0018 move.l -[A7], [A3 + 0x18]
00000228 487A 0004 pea.l [PC + 0x4 /* 0000022E, value 0x2F2B0018, cstring "/+" */]
0000022C 4ED2 jmp [A2]
label0000022E:
0000022E 2F2B 0018 move.l -[A7], [A3 + 0x18]
00000232 4EBA 1618 jsr [PC + 0x1618 /* 0000184C */]
00000236 588F addq.l A7, 4
00000238 4EBA 000A jsr [PC + 0xA /* 00000244 */]
0000023C 265F movea.l A3, [A7]+
0000023E 4E75 rts
fn00000240:
00000240 7001 moveq.l D0, 0x01
00000242 6002 bra +0x4 /* 00000246 */
fn00000244:
00000244 70FF moveq.l D0, 0xFFFFFFFF
label00000246:
00000246 2F08 move.l -[A7], A0
00000248 2078 02B6 movea.l A0, [0x000002B6 /* ExpandMem */]
0000024C 2068 0110 movea.l A0, [A0 + 0x110]
00000250 2068 0026 movea.l A0, [A0 + 0x26]
00000254 41E8 0018 lea.l A0, [A0 + 0x18]
00000258 D150 add.w [A0], D0
0000025A 205F movea.l A0, [A7]+
0000025C 4E75 rts
fn0000025E:
0000025E 222F 0004 move.l D1, [A7 + 0x4]
00000262 242F 0008 move.l D2, [A7 + 0x8]
00000266 48E7 3C00 movem.l -[A7], D2,D3,D4,D5
0000026A 2601 move.l D3, D1
0000026C 2801 move.l D4, D1
0000026E 2A02 move.l D5, D2
00000270 4844 swap.w D4
00000272 4845 swap.w D5
00000274 C2C2 mulu.w D1, D2
00000276 C4C4 mulu.w D2, D4
00000278 C6C5 mulu.w D3, D5
0000027A C8C5 mulu.w D4, D5
0000027C 4841 swap.w D1
0000027E D242 add.w D1, D2
00000280 7A00 moveq.l D5, 0x00
00000282 D985 addx.l D4, D5
00000284 D243 add.w D1, D3
00000286 D985 addx.l D4, D5
00000288 4841 swap.w D1
0000028A 4242 clr.w D2
0000028C 4243 clr.w D3
0000028E 4842 swap.w D2
00000290 4843 swap.w D3
00000292 D483 add.l D2, D3
00000294 D484 add.l D2, D4
00000296 2001 move.l D0, D1
00000298 4CDF 003C movem.l D2,D3,D4,D5, [A7]+
0000029C 4E75 rts
fn0000029E:
0000029E 202F 0004 move.l D0, [A7 + 0x4]
000002A2 222F 0008 move.l D1, [A7 + 0x8]
000002A6 80C1 divu.w D0, D1
000002A8 6908 bvs +0xA /* 000002B2 */
000002AA 0280 0000 FFFF andi.l D0, 0xFFFF
000002B0 4E75 rts
label000002B2:
000002B2 48A7 C000 movem.w -[A7], D0,D1
000002B6 4240 clr.w D0
000002B8 4840 swap.w D0
000002BA 80C1 divu.w D0, D1
000002BC 3F40 0002 move.w [A7 + 0x2], D0
000002C0 301F move.w D0, [A7]+
000002C2 80C1 divu.w D0, D1
000002C4 4840 swap.w D0
000002C6 301F move.w D0, [A7]+
000002C8 4840 swap.w D0
000002CA 4E75 rts
000002CC 4E56 FF98 link A6, -0x0068
000002D0 2F07 move.l -[A7], D7
000002D2 7000 moveq.l D0, 0x00
000002D4 102E 0008 move.b D0, [A6 + 0x8]
000002D8 2F00 move.l -[A7], D0
000002DA 2F2E 000A move.l -[A7], [A6 + 0xA]
000002DE 2F2E 000E move.l -[A7], [A6 + 0xE]
000002E2 2F2E 0012 move.l -[A7], [A6 + 0x12]
000002E6 2F2E 0016 move.l -[A7], [A6 + 0x16]
000002EA 302E 001A move.w D0, [A6 + 0x1A]
000002EE 48C0 ext.l D0
000002F0 2F00 move.l -[A7], D0
000002F2 302E 001C move.w D0, [A6 + 0x1C]
000002F6 48C0 ext.l D0
000002F8 2F00 move.l -[A7], D0
000002FA 2F2E 001E move.l -[A7], [A6 + 0x1E]
000002FE 486E FF98 pea.l [A6 - 0x68]
00000302 4EBA 0D0A jsr [PC + 0xD0A /* 0000100E */]
00000306 486E FF98 pea.l [A6 - 0x68]
0000030A 4EBA 0D7C jsr [PC + 0xD7C /* 00001088 */]
0000030E 3E00 move.w D7, D0
00000310 4FEF 0028 lea.l A7, [A7 + 0x28]
00000314 6706 beq +0x8 /* 0000031C */
00000316 3D47 0022 move.w [A6 + 0x22], D7
0000031A 6056 bra +0x58 /* 00000372 */
label0000031C:
0000031C 486E FF98 pea.l [A6 - 0x68]
00000320 4EBA 0E0E jsr [PC + 0xE0E /* 00001130 */]
00000324 3E00 move.w D7, D0
00000326 584F addq.w A7, 4
00000328 6710 beq +0x12 /* 0000033A */
0000032A 2F2E FF98 move.l -[A7], [A6 - 0x68]
0000032E 4EBA 151C jsr [PC + 0x151C /* 0000184C */]
00000332 3D47 0022 move.w [A6 + 0x22], D7
00000336 584F addq.w A7, 4
00000338 6038 bra +0x3A /* 00000372 */
label0000033A:
0000033A 4A6E FFAA tst.w [A6 - 0x56]
0000033E 56C0 sne D0
00000340 0240 0001 andi.w D0, 0x1
00000344 48C0 ext.l D0
00000346 206E FF9C movea.l A0, [A6 - 0x64]
0000034A 1140 0005 move.b [A0 + 0x5], D0
0000034E 4A6E FFAA tst.w [A6 - 0x56]
00000352 670E beq +0x10 /* 00000362 */
00000354 486E FF98 pea.l [A6 - 0x68]
00000358 4EBA 0174 jsr [PC + 0x174 /* 000004CE */]
0000035C 3E00 move.w D7, D0
0000035E 584F addq.w A7, 4
00000360 600C bra +0xE /* 0000036E */
label00000362:
00000362 486E FF98 pea.l [A6 - 0x68]
00000366 4EBA 05B0 jsr [PC + 0x5B0 /* 00000918 */]
0000036A 3E00 move.w D7, D0
0000036C 584F addq.w A7, 4
label0000036E:
0000036E 3D47 0022 move.w [A6 + 0x22], D7
label00000372:
00000372 2E2E FF94 move.l D7, [A6 - 0x6C]
00000376 4E5E unlink A6
00000378 205F movea.l A0, [A7]+
0000037A 4FEF 001A lea.l A7, [A7 + 0x1A]
0000037E 4ED0 jmp [A0]
00000380 4E56 FFE8 link A6, -0x0018
00000384 48E7 0138 movem.l -[A7], D7,A2,A3,A4
00000388 266E 0008 movea.l A3, [A6 + 0x8]
0000038C 2F0B move.l -[A7], A3
0000038E 4EBA 160A jsr [PC + 0x160A /* 0000199A */]
00000392 4A00 tst.b D0
00000394 584F addq.w A7, 4
00000396 670A beq +0xC /* 000003A2 */
00000398 3D7C FF33 000C move.w [A6 + 0xC], 0xFF33
0000039E 6000 00A6 bra +0xA8 /* 00000446 */
label000003A2:
000003A2 206B 0004 movea.l A0, [A3 + 0x4]
000003A6 49E8 006A lea.l A4, [A0 + 0x6A]
000003AA 246C 0008 movea.l A2, [A4 + 0x8]
000003AE 4A14 tst.b [A4]
000003B0 660A bne +0xC /* 000003BC */
000003B2 3D7C FF2D 000C move.w [A6 + 0xC], 0xFF2D
000003B8 6000 008C bra +0x8E /* 00000446 */
label000003BC:
000003BC 4A2C 0003 tst.b [A4 + 0x3]
000003C0 672A beq +0x2C /* 000003EC */
000003C2 3D7C 0052 FFF4 move.w [A6 - 0xC], 0x52 /* 'R' */
000003C8 426E FFF6 clr.w [A6 - 0xA]
000003CC 2D6A 00CC FFF8 move.l [A6 - 0x8], [A2 + 0xCC]
000003D2 558F subq.l A7, 2
000003D4 2F0B move.l -[A7], A3
000003D6 486E FFF4 pea.l [A6 - 0xC]
000003DA A804 syscall SndDoImmediate
000003DC 3E1F move.w D7, [A7]+
000003DE 6706 beq +0x8 /* 000003E6 */
000003E0 3D47 000C move.w [A6 + 0xC], D7
000003E4 6060 bra +0x62 /* 00000446 */
label000003E6:
000003E6 422C 0003 clr.b [A4 + 0x3]
000003EA 6056 bra +0x58 /* 00000442 */
label000003EC:
000003EC 3D7C 0055 FFEC move.w [A6 - 0x14], 0x55 /* 'U' */
000003F2 426E FFEE clr.w [A6 - 0x12]
000003F6 41EE FFFC lea.l A0, [A6 - 0x4]
000003FA 2D48 FFF0 move.l [A6 - 0x10], A0
000003FE 558F subq.l A7, 2
00000400 2F0B move.l -[A7], A3
00000402 486E FFEC pea.l [A6 - 0x14]
00000406 A804 syscall SndDoImmediate
00000408 3E1F move.w D7, [A7]+
0000040A 6706 beq +0x8 /* 00000412 */
0000040C 3D47 000C move.w [A6 + 0xC], D7
00000410 6034 bra +0x36 /* 00000446 */
label00000412:
00000412 256E FFFC 00CC move.l [A2 + 0xCC], [A6 - 0x4]
00000418 3D7C 0052 FFF4 move.w [A6 - 0xC], 0x52 /* 'R' */
0000041E 426E FFF6 clr.w [A6 - 0xA]
00000422 7000 moveq.l D0, 0x00
00000424 2D40 FFF8 move.l [A6 - 0x8], D0
00000428 558F subq.l A7, 2
0000042A 2F0B move.l -[A7], A3
0000042C 486E FFF4 pea.l [A6 - 0xC]
00000430 A804 syscall SndDoImmediate
00000432 3E1F move.w D7, [A7]+
00000434 6706 beq +0x8 /* 0000043C */
00000436 3D47 000C move.w [A6 + 0xC], D7
0000043A 600A bra +0xC /* 00000446 */
label0000043C:
0000043C 197C 0001 0003 move.b [A4 + 0x3], 0x1
label00000442:
00000442 426E 000C clr.w [A6 + 0xC]
label00000446:
00000446 4CEE 1C80 FFD8 movem.l D7,A2,A3,A4, [A6 - 0x28]
0000044C 4E5E unlink A6
0000044E 2E9F move.l [A7], [A7]+
00000450 4E75 rts
00000452 4E56 FFF4 link A6, -0x000C
00000456 48E7 0138 movem.l -[A7], D7,A2,A3,A4
0000045A 266E 000A movea.l A3, [A6 + 0xA]
0000045E 2F0B move.l -[A7], A3
00000460 4EBA 1538 jsr [PC + 0x1538 /* 0000199A */]
00000464 4A00 tst.b D0
00000466 584F addq.w A7, 4
00000468 6708 beq +0xA /* 00000472 */
0000046A 3D7C FF33 000E move.w [A6 + 0xE], 0xFF33
00000470 604E bra +0x50 /* 000004C0 */
label00000472:
00000472 206B 0004 movea.l A0, [A3 + 0x4]
00000476 49E8 006A lea.l A4, [A0 + 0x6A]
0000047A 246C 0008 movea.l A2, [A4 + 0x8]
0000047E 4A14 tst.b [A4]
00000480 6606 bne +0x8 /* 00000488 */
00000482 426E 000E clr.w [A6 + 0xE]
00000486 6038 bra +0x3A /* 000004C0 */
label00000488:
00000488 4A2C 0003 tst.b [A4 + 0x3]
0000048C 6606 bne +0x8 /* 00000494 */
0000048E 4A2E 0008 tst.b [A6 + 0x8]
00000492 6724 beq +0x26 /* 000004B8 */
label00000494:
00000494 3D7C 0003 FFF4 move.w [A6 - 0xC], 0x3
0000049A 426E FFF6 clr.w [A6 - 0xA]
0000049E 7000 moveq.l D0, 0x00
000004A0 2D40 FFF8 move.l [A6 - 0x8], D0
000004A4 558F subq.l A7, 2
000004A6 2F0B move.l -[A7], A3
000004A8 486E FFF4 pea.l [A6 - 0xC]
000004AC A804 syscall SndDoImmediate
000004AE 3E1F move.w D7, [A7]+
000004B0 6706 beq +0x8 /* 000004B8 */
000004B2 3D47 000E move.w [A6 + 0xE], D7
000004B6 6008 bra +0xA /* 000004C0 */
label000004B8:
000004B8 4A14 tst.b [A4]
000004BA 66FC bne -0x2 /* 000004B8 */
000004BC 426E 000E clr.w [A6 + 0xE]
label000004C0:
000004C0 4CEE 1C80 FFE4 movem.l D7,A2,A3,A4, [A6 - 0x1C]
000004C6 4E5E unlink A6
000004C8 205F movea.l A0, [A7]+
000004CA 5C4F addq.w A7, 6
000004CC 4ED0 jmp [A0]
fn000004CE:
000004CE 4E56 0000 link A6, 0
000004D2 48E7 0118 movem.l -[A7], D7,A3,A4
000004D6 286E 0008 movea.l A4, [A6 + 0x8]
000004DA 2F0C move.l -[A7], A4
000004DC 4EBA 00E6 jsr [PC + 0xE6 /* 000005C4 */]
000004E0 3E00 move.w D7, D0
000004E2 584F addq.w A7, 4
000004E4 6714 beq +0x16 /* 000004FA */
000004E6 2F14 move.l -[A7], [A4]
000004E8 4EBA 131E jsr [PC + 0x131E /* 00001808 */]
000004EC 2F14 move.l -[A7], [A4]
000004EE 4EBA 135C jsr [PC + 0x135C /* 0000184C */]
000004F2 3007 move.w D0, D7
000004F4 504F addq.w A7, 8
000004F6 6000 00C2 bra +0xC4 /* 000005BA */
label000004FA:
000004FA 2F0C move.l -[A7], A4
000004FC 4EBA 0242 jsr [PC + 0x242 /* 00000740 */]
00000500 3E00 move.w D7, D0
00000502 584F addq.w A7, 4
00000504 670E beq +0x10 /* 00000514 */
00000506 2F14 move.l -[A7], [A4]
00000508 4EBA FCC8 jsr [PC - 0x338 /* 000001D2 */]
0000050C 3007 move.w D0, D7
0000050E 584F addq.w A7, 4
00000510 6000 00A8 bra +0xAA /* 000005BA */
label00000514:
00000514 2F0C move.l -[A7], A4
00000516 4EBA 0E56 jsr [PC + 0xE56 /* 0000136E */]
0000051A 3E00 move.w D7, D0
0000051C 584F addq.w A7, 4
0000051E 670E beq +0x10 /* 0000052E */
00000520 2F14 move.l -[A7], [A4]
00000522 4EBA FCAE jsr [PC - 0x352 /* 000001D2 */]
00000526 3007 move.w D0, D7
00000528 584F addq.w A7, 4
0000052A 6000 008E bra +0x90 /* 000005BA */
label0000052E:
0000052E 2F0C move.l -[A7], A4
00000530 4EBA 0ECC jsr [PC + 0xECC /* 000013FE */]
00000534 3E00 move.w D7, D0
00000536 584F addq.w A7, 4
00000538 670C beq +0xE /* 00000546 */
0000053A 2F14 move.l -[A7], [A4]
0000053C 4EBA FC94 jsr [PC - 0x36C /* 000001D2 */]
00000540 3007 move.w D0, D7
00000542 584F addq.w A7, 4
00000544 6074 bra +0x76 /* 000005BA */
label00000546:
00000546 2F0C move.l -[A7], A4
00000548 4EBA 116A jsr [PC + 0x116A /* 000016B4 */]
0000054C 2F0C move.l -[A7], A4
0000054E 4EBA 11DC jsr [PC + 0x11DC /* 0000172C */]
00000552 4A2C 0014 tst.b [A4 + 0x14]
00000556 504F addq.w A7, 8
00000558 660E bne +0x10 /* 00000568 */
0000055A 206C 0004 movea.l A0, [A4 + 0x4]
0000055E 4A28 0007 tst.b [A0 + 0x7]
00000562 6704 beq +0x6 /* 00000568 */
00000564 2654 movea.l A3, [A4]
00000566 6004 bra +0x6 /* 0000056C */
label00000568:
00000568 7000 moveq.l D0, 0x00
0000056A 2640 movea.l A3, D0
label0000056C:
0000056C 2F0C move.l -[A7], A4
0000056E 4EBA 10DE jsr [PC + 0x10DE /* 0000164E */]
00000572 3E00 move.w D7, D0
00000574 584F addq.w A7, 4
00000576 670C beq +0xE /* 00000584 */
00000578 2F14 move.l -[A7], [A4]
0000057A 4EBA FC56 jsr [PC - 0x3AA /* 000001D2 */]
0000057E 3007 move.w D0, D7
00000580 584F addq.w A7, 4
00000582 6036 bra +0x38 /* 000005BA */
label00000584:
00000584 2F14 move.l -[A7], [A4]
00000586 4EBA 122A jsr [PC + 0x122A /* 000017B2 */]
0000058A 3E00 move.w D7, D0
0000058C 584F addq.w A7, 4
0000058E 670C beq +0xE /* 0000059C */
00000590 2F14 move.l -[A7], [A4]
00000592 4EBA FC3E jsr [PC - 0x3C2 /* 000001D2 */]
00000596 3007 move.w D0, D7
00000598 584F addq.w A7, 4
0000059A 601E bra +0x20 /* 000005BA */
label0000059C:
0000059C 4EBA FCA2 jsr [PC - 0x35E /* 00000240 */]
000005A0 2F0C move.l -[A7], A4
000005A2 4EBA 1244 jsr [PC + 0x1244 /* 000017E8 */]
000005A6 200B move.l D0, A3
000005A8 584F addq.w A7, 4
000005AA 670C beq +0xE /* 000005B8 */
000005AC 558F subq.l A7, 2
000005AE 2F0B move.l -[A7], A3
000005B0 7001 moveq.l D0, 0x01
000005B2 1F00 move.b -[A7], D0
000005B4 A801 syscall SndDisposeChannel
000005B6 3E1F move.w D7, [A7]+
label000005B8:
000005B8 7000 moveq.l D0, 0x00
label000005BA:
000005BA 4CEE 1880 FFF4 movem.l D7,A3,A4, [A6 - 0xC]
000005C0 4E5E unlink A6
000005C2 4E75 rts
fn000005C4:
000005C4 4E56 FFCC link A6, -0x0034
000005C8 48E7 0318 movem.l -[A7], D6,D7,A3,A4
000005CC 266E 0008 movea.l A3, [A6 + 0x8]
000005D0 206B 0004 movea.l A0, [A3 + 0x4]
000005D4 2068 0008 movea.l A0, [A0 + 0x8]
000005D8 216B 0004 00D0 move.l [A0 + 0xD0], [A3 + 0x4]
000005DE 206B 0004 movea.l A0, [A3 + 0x4]
000005E2 2868 0008 movea.l A4, [A0 + 0x8]
000005E6 3C2B 0012 move.w D6, [A3 + 0x12]
000005EA 486B 0016 pea.l [A3 + 0x16]
000005EE 486E FFD0 pea.l [A6 - 0x30]
000005F2 486B 0010 pea.l [A3 + 0x10]
000005F6 48C6 ext.l D6
000005F8 2F06 move.l -[A7], D6
000005FA 4EBA 12A8 jsr [PC + 0x12A8 /* 000018A4 */]
000005FE 3E00 move.w D7, D0
00000600 4FEF 0010 lea.l A7, [A7 + 0x10]
00000604 6706 beq +0x8 /* 0000060C */
00000606 3007 move.w D0, D7
00000608 6000 012C bra +0x12E /* 00000736 */
label0000060C:
0000060C 224C movea.l A1, A4
0000060E 41EB 0016 lea.l A0, [A3 + 0x16]
00000612 7000 moveq.l D0, 0x00
00000614 1010 move.b D0, [A0]
label00000616:
00000616 12D8 move.b [A1]+, [A0]+
00000618 51C8 FFFC dbf D0, -0x6 /* 00000616 */
0000061C 48C6 ext.l D6
0000061E 2F06 move.l -[A7], D6
00000620 302B 0010 move.w D0, [A3 + 0x10]
00000624 48C0 ext.l D0
00000626 2F00 move.l -[A7], D0
00000628 2F0C move.l -[A7], A4
0000062A 4EBA 0FAC jsr [PC + 0xFAC /* 000015D8 */]
0000062E 558F subq.l A7, 2
00000630 3F06 move.w -[A7], D6
00000632 7001 moveq.l D0, 0x01
00000634 3F00 move.w -[A7], D0
00000636 7200 moveq.l D1, 0x00
00000638 2F01 move.l -[A7], D1
0000063A 4EBA 1418 jsr [PC + 0x1418 /* 00001A54 */]
0000063E 3E1F move.w D7, [A7]+
00000640 4FEF 000C lea.l A7, [A7 + 0xC]
00000644 6706 beq +0x8 /* 0000064C */
00000646 3007 move.w D0, D7
00000648 6000 00EC bra +0xEE /* 00000736 */
label0000064C:
0000064C 700C moveq.l D0, 0x0C
0000064E 2D40 FFCC move.l [A6 - 0x34], D0
00000652 558F subq.l A7, 2
00000654 3F06 move.w -[A7], D6
00000656 486E FFCC pea.l [A6 - 0x34]
0000065A 486E FFD4 pea.l [A6 - 0x2C]
0000065E 4EBA 138A jsr [PC + 0x138A /* 000019EA */]
00000662 3E1F move.w D7, [A7]+
00000664 6706 beq +0x8 /* 0000066C */
00000666 3007 move.w D0, D7
00000668 6000 00CC bra +0xCE /* 00000736 */
label0000066C:
0000066C 0CAE 464F 524D FFD4 cmpi.l [A6 - 0x2C], 0x464F524D /* 'FORM' */
00000674 6708 beq +0xA /* 0000067E */
00000676 303C FF30 move.w D0, 0xFF30
0000067A 6000 00BA bra +0xBC /* 00000736 */
label0000067E:
0000067E 202E FFDC move.l D0, [A6 - 0x24]
00000682 0480 4149 4643 subi.l D0, 0x41494643 /* 'AIFC' */
00000688 6706 beq +0x8 /* 00000690 */
0000068A 5780 subq.l D0, 3
0000068C 674E beq +0x50 /* 000006DC */
0000068E 607E bra +0x80 /* 0000070E */
label00000690:
00000690 2F3C 434F 4D4D move.l -[A7], 0x434F4D4D /* 'COMM' */
00000696 2F0C move.l -[A7], A4
00000698 4EBA 011A jsr [PC + 0x11A /* 000007B4 */]
0000069C 4A00 tst.b D0
0000069E 504F addq.w A7, 8
000006A0 6608 bne +0xA /* 000006AA */
000006A2 303C FF30 move.w D0, 0xFF30
000006A6 6000 008E bra +0x90 /* 00000736 */
label000006AA:
000006AA 486E FFE0 pea.l [A6 - 0x20]
000006AE 2F0C move.l -[A7], A4
000006B0 4EBA 020C jsr [PC + 0x20C /* 000008BE */]
000006B4 3E00 move.w D7, D0
000006B6 504F addq.w A7, 8
000006B8 6704 beq +0x6 /* 000006BE */
000006BA 3007 move.w D0, D7
000006BC 6078 bra +0x7A /* 00000736 */
label000006BE:
000006BE 0CAE 4E4F 4E45 FFFA cmpi.l [A6 - 0x6], 0x4E4F4E45 /* 'NONE' */
000006C6 6606 bne +0x8 /* 000006CE */
000006C8 426C 0052 clr.w [A4 + 0x52]
000006CC 6046 bra +0x48 /* 00000714 */
label000006CE:
000006CE 397C FFFF 0052 move.w [A4 + 0x52], 0xFFFF
000006D4 296E FFFA 0054 move.l [A4 + 0x54], [A6 - 0x6]
000006DA 6038 bra +0x3A /* 00000714 */
label000006DC:
000006DC 2F3C 434F 4D4D move.l -[A7], 0x434F4D4D /* 'COMM' */
000006E2 2F0C move.l -[A7], A4
000006E4 4EBA 00CE jsr [PC + 0xCE /* 000007B4 */]
000006E8 4A00 tst.b D0
000006EA 504F addq.w A7, 8
000006EC 6606 bne +0x8 /* 000006F4 */
000006EE 303C FF30 move.w D0, 0xFF30
000006F2 6042 bra +0x44 /* 00000736 */
label000006F4:
000006F4 486E FFE0 pea.l [A6 - 0x20]
000006F8 2F0C move.l -[A7], A4
000006FA 4EBA 016A jsr [PC + 0x16A /* 00000866 */]
000006FE 3E00 move.w D7, D0
00000700 504F addq.w A7, 8
00000702 6704 beq +0x6 /* 00000708 */
00000704 3007 move.w D0, D7
00000706 602E bra +0x30 /* 00000736 */
label00000708:
00000708 426C 0052 clr.w [A4 + 0x52]
0000070C 6006 bra +0x8 /* 00000714 */
label0000070E:
0000070E 303C FF30 move.w D0, 0xFF30
00000712 6022 bra +0x24 /* 00000736 */
label00000714:
00000714 396E FFE8 0040 move.w [A4 + 0x40], [A6 - 0x18]
0000071A 296E FFEA 0042 move.l [A4 + 0x42], [A6 - 0x16]
00000720 396E FFEE 0046 move.w [A4 + 0x46], [A6 - 0x12]
00000726 41EE FFF0 lea.l A0, [A6 - 0x10]
0000072A 43EC 0048 lea.l A1, [A4 + 0x48]
0000072E 22D8 move.l [A1]+, [A0]+
00000730 22D8 move.l [A1]+, [A0]+
00000732 32D8 move.w [A1]+, [A0]+
00000734 7000 moveq.l D0, 0x00
label00000736:
00000736 4CEE 18C0 FFBC movem.l D6,D7,A3,A4, [A6 - 0x44]
0000073C 4E5E unlink A6
0000073E 4E75 rts
fn00000740:
00000740 4E56 FFEC link A6, -0x0014
00000744 48E7 0108 movem.l -[A7], D7,A4
00000748 206E 0008 movea.l A0, [A6 + 0x8]
0000074C 2068 0004 movea.l A0, [A0 + 0x4]
00000750 2868 0008 movea.l A4, [A0 + 0x8]
00000754 2F3C 5353 4E44 move.l -[A7], 0x53534E44 /* 'SSND' */
0000075A 2F0C move.l -[A7], A4
0000075C 4EBA 0056 jsr [PC + 0x56 /* 000007B4 */]
00000760 4A00 tst.b D0
00000762 504F addq.w A7, 8
00000764 6606 bne +0x8 /* 0000076C */
00000766 303C FF30 move.w D0, 0xFF30
0000076A 603E bra +0x40 /* 000007AA */
label0000076C:
0000076C 7010 moveq.l D0, 0x10
0000076E 2D40 FFEC move.l [A6 - 0x14], D0
00000772 558F subq.l A7, 2
00000774 3F2C 00EE move.w -[A7], [A4 + 0xEE]
00000778 486E FFEC pea.l [A6 - 0x14]
0000077C 486E FFF0 pea.l [A6 - 0x10]
00000780 4EBA 1268 jsr [PC + 0x1268 /* 000019EA */]
00000784 3E1F move.w D7, [A7]+
00000786 6706 beq +0x8 /* 0000078E */
00000788 303C FF30 move.w D0, 0xFF30
0000078C 601C bra +0x1E /* 000007AA */
label0000078E:
0000078E 558F subq.l A7, 2
00000790 3F2C 00EE move.w -[A7], [A4 + 0xEE]
00000794 7003 moveq.l D0, 0x03
00000796 3F00 move.w -[A7], D0
00000798 2F2E FFF8 move.l -[A7], [A6 - 0x8]
0000079C 4EBA 12B6 jsr [PC + 0x12B6 /* 00001A54 */]
000007A0 3E1F move.w D7, [A7]+
000007A2 6704 beq +0x6 /* 000007A8 */
000007A4 3007 move.w D0, D7
000007A6 6002 bra +0x4 /* 000007AA */
label000007A8:
000007A8 7000 moveq.l D0, 0x00
label000007AA:
000007AA 4CEE 1080 FFE4 movem.l D7,A4, [A6 - 0x1C]
000007B0 4E5E unlink A6
000007B2 4E75 rts
fn000007B4:
000007B4 4E56 FFF4 link A6, -0x000C
000007B8 48E7 0F08 movem.l -[A7], D4,D5,D6,D7,A4
000007BC 282E 000C move.l D4, [A6 + 0xC]
000007C0 286E 0008 movea.l A4, [A6 + 0x8]
000007C4 7A0C moveq.l D5, 0x0C
000007C6 558F subq.l A7, 2
000007C8 3F2C 00EE move.w -[A7], [A4 + 0xEE]
000007CC 7001 moveq.l D0, 0x01
000007CE 3F00 move.w -[A7], D0
000007D0 2F05 move.l -[A7], D5
000007D2 4EBA 1280 jsr [PC + 0x1280 /* 00001A54 */]
000007D6 3E1F move.w D7, [A7]+
000007D8 6704 beq +0x6 /* 000007DE */
000007DA 7000 moveq.l D0, 0x00
000007DC 607E bra +0x80 /* 0000085C */
label000007DE:
000007DE 4205 clr.b D5
000007E0 4206 clr.b D6
000007E2 606E bra +0x70 /* 00000852 */
label000007E4:
000007E4 7008 moveq.l D0, 0x08
000007E6 2D40 FFF4 move.l [A6 - 0xC], D0
000007EA 558F subq.l A7, 2
000007EC 3F2C 00EE move.w -[A7], [A4 + 0xEE]
000007F0 486E FFF4 pea.l [A6 - 0xC]
000007F4 486E FFF8 pea.l [A6 - 0x8]
000007F8 4EBA 11F0 jsr [PC + 0x11F0 /* 000019EA */]
000007FC 3E1F move.w D7, [A7]+
000007FE 6704 beq +0x6 /* 00000804 */
00000800 7000 moveq.l D0, 0x00
00000802 6058 bra +0x5A /* 0000085C */
label00000804:
00000804 B8AE FFF8 cmp.l D4, [A6 - 0x8]
00000808 6622 bne +0x24 /* 0000082C */
0000080A 202E FFF4 move.l D0, [A6 - 0xC]
0000080E 4480 neg.l D0
00000810 2D40 FFF4 move.l [A6 - 0xC], D0
00000814 558F subq.l A7, 2
00000816 3F2C 00EE move.w -[A7], [A4 + 0xEE]
0000081A 7003 moveq.l D0, 0x03
0000081C 3F00 move.w -[A7], D0
0000081E 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00000822 4EBA 1230 jsr [PC + 0x1230 /* 00001A54 */]
00000826 7C01 moveq.l D6, 0x01
00000828 544F addq.w A7, 2
0000082A 6026 bra +0x28 /* 00000852 */
label0000082C:
0000082C 558F subq.l A7, 2
0000082E 3F2C 00EE move.w -[A7], [A4 + 0xEE]
00000832 7003 moveq.l D0, 0x03
00000834 3F00 move.w -[A7], D0
00000836 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000083A 4EBA 1218 jsr [PC + 0x1218 /* 00001A54 */]
0000083E 3E1F move.w D7, [A7]+
00000840 0C47 FFD9 cmpi.w D7, 0xFFD9
00000844 6604 bne +0x6 /* 0000084A */
00000846 7A01 moveq.l D5, 0x01
00000848 6008 bra +0xA /* 00000852 */
label0000084A:
0000084A 4A47 tst.w D7
0000084C 6704 beq +0x6 /* 00000852 */
0000084E 7000 moveq.l D0, 0x00
00000850 600A bra +0xC /* 0000085C */
label00000852:
00000852 4A06 tst.b D6
00000854 6604 bne +0x6 /* 0000085A */
00000856 4A05 tst.b D5
00000858 678A beq -0x74 /* 000007E4 */
label0000085A:
0000085A 1006 move.b D0, D6
label0000085C:
0000085C 4CEE 10F0 FFE0 movem.l D4,D5,D6,D7,A4, [A6 - 0x20]
00000862 4E5E unlink A6
00000864 4E75 rts
fn00000866:
00000866 4E56 FFFC link A6, -0x0004
0000086A 48E7 0108 movem.l -[A7], D7,A4
0000086E 286E 0008 movea.l A4, [A6 + 0x8]
00000872 2F3C 434F 4D4D move.l -[A7], 0x434F4D4D /* 'COMM' */
00000878 2F0C move.l -[A7], A4
0000087A 4EBA FF38 jsr [PC - 0xC8 /* 000007B4 */]
0000087E 4A00 tst.b D0
00000880 504F addq.w A7, 8
00000882 6606 bne +0x8 /* 0000088A */
00000884 303C FF30 move.w D0, 0xFF30
00000888 602A bra +0x2C /* 000008B4 */
label0000088A:
0000088A 701A moveq.l D0, 0x1A
0000088C 2D40 FFFC move.l [A6 - 0x4], D0
00000890 558F subq.l A7, 2
00000892 3F2C 00EE move.w -[A7], [A4 + 0xEE]
00000896 486E FFFC pea.l [A6 - 0x4]
0000089A 2F2E 000C move.l -[A7], [A6 + 0xC]
0000089E 4EBA 114A jsr [PC + 0x114A /* 000019EA */]
000008A2 3E1F move.w D7, [A7]+
000008A4 670C beq +0xE /* 000008B2 */
000008A6 0C47 FFD9 cmpi.w D7, 0xFFD9
000008AA 6706 beq +0x8 /* 000008B2 */
000008AC 303C FF30 move.w D0, 0xFF30
000008B0 6002 bra +0x4 /* 000008B4 */
label000008B2:
000008B2 7000 moveq.l D0, 0x00
label000008B4:
000008B4 4CEE 1080 FFF4 movem.l D7,A4, [A6 - 0xC]
000008BA 4E5E unlink A6
000008BC 4E75 rts
fn000008BE:
000008BE 4E56 FFFC link A6, -0x0004
000008C2 48E7 0108 movem.l -[A7], D7,A4
000008C6 286E 0008 movea.l A4, [A6 + 0x8]
000008CA 2F3C 434F 4D4D move.l -[A7], 0x434F4D4D /* 'COMM' */
000008D0 2F0C move.l -[A7], A4
000008D2 4EBA FEE0 jsr [PC - 0x120 /* 000007B4 */]
000008D6 4A00 tst.b D0
000008D8 504F addq.w A7, 8
000008DA 6606 bne +0x8 /* 000008E2 */
000008DC 303C FF30 move.w D0, 0xFF30
000008E0 602C bra +0x2E /* 0000090E */
label000008E2:
000008E2 41F8 001E lea.l A0, [0x0000001E]
000008E6 2D48 FFFC move.l [A6 - 0x4], A0
000008EA 558F subq.l A7, 2
000008EC 3F2C 00EE move.w -[A7], [A4 + 0xEE]
000008F0 486E FFFC pea.l [A6 - 0x4]
000008F4 2F2E 000C move.l -[A7], [A6 + 0xC]
000008F8 4EBA 10F0 jsr [PC + 0x10F0 /* 000019EA */]
000008FC 3E1F move.w D7, [A7]+
000008FE 670C beq +0xE /* 0000090C */
00000900 0C47 FFD9 cmpi.w D7, 0xFFD9
00000904 6706 beq +0x8 /* 0000090C */
00000906 303C FF30 move.w D0, 0xFF30
0000090A 6002 bra +0x4 /* 0000090E */
label0000090C:
0000090C 7000 moveq.l D0, 0x00
label0000090E:
0000090E 4CEE 1080 FFF4 movem.l D7,A4, [A6 - 0xC]
00000914 4E5E unlink A6
00000916 4E75 rts
fn00000918:
00000918 4E56 0000 link A6, 0
0000091C 48E7 0118 movem.l -[A7], D7,A3,A4
00000920 286E 0008 movea.l A4, [A6 + 0x8]
00000924 2F0C move.l -[A7], A4
00000926 4EBA 0100 jsr [PC + 0x100 /* 00000A28 */]
0000092A 3E00 move.w D7, D0
0000092C 584F addq.w A7, 4
0000092E 6714 beq +0x16 /* 00000944 */
00000930 2F14 move.l -[A7], [A4]
00000932 4EBA 0ED4 jsr [PC + 0xED4 /* 00001808 */]
00000936 2F14 move.l -[A7], [A4]
00000938 4EBA 0F12 jsr [PC + 0xF12 /* 0000184C */]
0000093C 3007 move.w D0, D7
0000093E 504F addq.w A7, 8
00000940 6000 00DC bra +0xDE /* 00000A1E */
label00000944:
00000944 2F0C move.l -[A7], A4
00000946 4EBA 022E jsr [PC + 0x22E /* 00000B76 */]
0000094A 3E00 move.w D7, D0
0000094C 584F addq.w A7, 4
0000094E 670E beq +0x10 /* 0000095E */
00000950 2F14 move.l -[A7], [A4]
00000952 4EBA F87E jsr [PC - 0x782 /* 000001D2 */]
00000956 3007 move.w D0, D7
00000958 584F addq.w A7, 4
0000095A 6000 00C2 bra +0xC4 /* 00000A1E */
label0000095E:
0000095E 2F0C move.l -[A7], A4
00000960 4EBA 0432 jsr [PC + 0x432 /* 00000D94 */]
00000964 3E00 move.w D7, D0
00000966 584F addq.w A7, 4
00000968 670E beq +0x10 /* 00000978 */
0000096A 2F14 move.l -[A7], [A4]
0000096C 4EBA F864 jsr [PC - 0x79C /* 000001D2 */]
00000970 3007 move.w D0, D7
00000972 584F addq.w A7, 4
00000974 6000 00A8 bra +0xAA /* 00000A1E */
label00000978:
00000978 2F0C move.l -[A7], A4
0000097A 4EBA 09F2 jsr [PC + 0x9F2 /* 0000136E */]
0000097E 3E00 move.w D7, D0
00000980 584F addq.w A7, 4
00000982 670E beq +0x10 /* 00000992 */
00000984 2F14 move.l -[A7], [A4]
00000986 4EBA F84A jsr [PC - 0x7B6 /* 000001D2 */]
0000098A 3007 move.w D0, D7
0000098C 584F addq.w A7, 4
0000098E 6000 008E bra +0x90 /* 00000A1E */
label00000992:
00000992 2F0C move.l -[A7], A4
00000994 4EBA 0A68 jsr [PC + 0xA68 /* 000013FE */]
00000998 3E00 move.w D7, D0
0000099A 584F addq.w A7, 4
0000099C 670C beq +0xE /* 000009AA */
0000099E 2F14 move.l -[A7], [A4]
000009A0 4EBA F830 jsr [PC - 0x7D0 /* 000001D2 */]
000009A4 3007 move.w D0, D7
000009A6 584F addq.w A7, 4
000009A8 6074 bra +0x76 /* 00000A1E */
label000009AA:
000009AA 2F0C move.l -[A7], A4
000009AC 4EBA 0CA0 jsr [PC + 0xCA0 /* 0000164E */]
000009B0 3E00 move.w D7, D0
000009B2 584F addq.w A7, 4
000009B4 670C beq +0xE /* 000009C2 */
000009B6 2F14 move.l -[A7], [A4]
000009B8 4EBA F818 jsr [PC - 0x7E8 /* 000001D2 */]
000009BC 3007 move.w D0, D7
000009BE 584F addq.w A7, 4
000009C0 605C bra +0x5E /* 00000A1E */
label000009C2:
000009C2 2F0C move.l -[A7], A4
000009C4 4EBA 0CEE jsr [PC + 0xCEE /* 000016B4 */]
000009C8 2F0C move.l -[A7], A4
000009CA 4EBA 0D60 jsr [PC + 0xD60 /* 0000172C */]
000009CE 4A2C 0014 tst.b [A4 + 0x14]
000009D2 504F addq.w A7, 8
000009D4 660E bne +0x10 /* 000009E4 */
000009D6 206C 0004 movea.l A0, [A4 + 0x4]
000009DA 4A28 0007 tst.b [A0 + 0x7]
000009DE 6704 beq +0x6 /* 000009E4 */
000009E0 2654 movea.l A3, [A4]
000009E2 6004 bra +0x6 /* 000009E8 */
label000009E4:
000009E4 7000 moveq.l D0, 0x00
000009E6 2640 movea.l A3, D0
label000009E8:
000009E8 2F14 move.l -[A7], [A4]
000009EA 4EBA 0DC6 jsr [PC + 0xDC6 /* 000017B2 */]
000009EE 3E00 move.w D7, D0
000009F0 584F addq.w A7, 4
000009F2 670C beq +0xE /* 00000A00 */
000009F4 2F14 move.l -[A7], [A4]
000009F6 4EBA F7DA jsr [PC - 0x826 /* 000001D2 */]
000009FA 3007 move.w D0, D7
000009FC 584F addq.w A7, 4
000009FE 601E bra +0x20 /* 00000A1E */
label00000A00:
00000A00 4EBA F83E jsr [PC - 0x7C2 /* 00000240 */]
00000A04 2F0C move.l -[A7], A4
00000A06 4EBA 0DE0 jsr [PC + 0xDE0 /* 000017E8 */]
00000A0A 200B move.l D0, A3
00000A0C 584F addq.w A7, 4
00000A0E 670C beq +0xE /* 00000A1C */
00000A10 558F subq.l A7, 2
00000A12 2F0B move.l -[A7], A3
00000A14 7001 moveq.l D0, 0x01
00000A16 1F00 move.b -[A7], D0
00000A18 A801 syscall SndDisposeChannel
00000A1A 3E1F move.w D7, [A7]+
label00000A1C:
00000A1C 3007 move.w D0, D7
label00000A1E:
00000A1E 4CEE 1880 FFF4 movem.l D7,A3,A4, [A6 - 0xC]
00000A24 4E5E unlink A6
00000A26 4E75 rts
fn00000A28:
00000A28 4E56 FF2C link A6, -0x00D4
00000A2C 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00000A30 266E 0008 movea.l A3, [A6 + 0x8]
00000A34 206B 0004 movea.l A0, [A3 + 0x4]
00000A38 2868 0008 movea.l A4, [A0 + 0x8]
00000A3C 2948 00D0 move.l [A4 + 0xD0], A0
00000A40 302B 0056 move.w D0, [A3 + 0x56]
00000A44 48C0 ext.l D0
00000A46 2F00 move.l -[A7], D0
00000A48 486E FFE8 pea.l [A6 - 0x18]
00000A4C 486E FFE4 pea.l [A6 - 0x1C]
00000A50 4EBA 04D2 jsr [PC + 0x4D2 /* 00000F24 */]
00000A54 4A00 tst.b D0
00000A56 4FEF 000C lea.l A7, [A7 + 0xC]
00000A5A 6608 bne +0xA /* 00000A64 */
00000A5C 303C FF32 move.w D0, 0xFF32
00000A60 6000 010A bra +0x10C /* 00000B6C */
label00000A64:
00000A64 558F subq.l A7, 2
00000A66 3F2E FFE4 move.w -[A7], [A6 - 0x1C]
00000A6A 486E FFE6 pea.l [A6 - 0x1A]
00000A6E 4EBA 100A jsr [PC + 0x100A /* 00001A7A */]
00000A72 3E1F move.w D7, [A7]+
00000A74 6706 beq +0x8 /* 00000A7C */
00000A76 3007 move.w D0, D7
00000A78 6000 00F2 bra +0xF4 /* 00000B6C */
label00000A7C:
00000A7C 703E moveq.l D0, 0x3E
00000A7E 41EE FF2C lea.l A0, [A6 - 0xD4]
00000A82 6002 bra +0x4 /* 00000A86 */
label00000A84:
00000A84 4218 clr.b [A0]+
label00000A86:
00000A86 51C8 FFFC dbf D0, -0x6 /* 00000A84 */
00000A8A 7000 moveq.l D0, 0x00
00000A8C 2D40 FF38 move.l [A6 - 0xC8], D0
00000A90 2D4C FF3E move.l [A6 - 0xC2], A4
00000A94 3D6E FFE6 FF42 move.w [A6 - 0xBE], [A6 - 0x1A]
00000A9A 3D6E FFE4 FF44 move.w [A6 - 0xBC], [A6 - 0x1C]
00000AA0 41EE FF2C lea.l A0, [A6 - 0xD4]
00000AA4 7008 moveq.l D0, 0x08
00000AA6 A260 syscall FSDispatch/HFSDispatch, flags=2
00000AA8 3E00 move.w D7, D0
00000AAA 6706 beq +0x8 /* 00000AB2 */
00000AAC 3007 move.w D0, D7
00000AAE 6000 00BC bra +0xBE /* 00000B6C */
label00000AB2:
00000AB2 707A moveq.l D0, 0x7A
00000AB4 41EE FF6A lea.l A0, [A6 - 0x96]
00000AB8 6002 bra +0x4 /* 00000ABC */
label00000ABA:
00000ABA 4218 clr.b [A0]+
label00000ABC:
00000ABC 51C8 FFFC dbf D0, -0x6 /* 00000ABA */
00000AC0 7000 moveq.l D0, 0x00
00000AC2 2D40 FF76 move.l [A6 - 0x8A], D0
00000AC6 2D4C FF7C move.l [A6 - 0x84], A4
00000ACA 3D6E FFE6 FF80 move.w [A6 - 0x80], [A6 - 0x1A]
00000AD0 1D7C 0001 FF85 move.b [A6 - 0x7B], 0x1
00000AD6 2D40 FF86 move.l [A6 - 0x7A], D0
00000ADA 2D6E FF66 FF9A move.l [A6 - 0x66], [A6 - 0x9A]
00000AE0 41EE FF6A lea.l A0, [A6 - 0x96]
00000AE4 A20A syscall OpenRF/PBHOpenRF/HOpenRF, flags=2
00000AE6 3E00 move.w D7, D0
00000AE8 6704 beq +0x6 /* 00000AEE */
00000AEA 3007 move.w D0, D7
00000AEC 607E bra +0x80 /* 00000B6C */
label00000AEE:
00000AEE 3D6E FF82 FFE4 move.w [A6 - 0x1C], [A6 - 0x7E]
00000AF4 7010 moveq.l D0, 0x10
00000AF6 2D40 FFEC move.l [A6 - 0x14], D0
00000AFA 558F subq.l A7, 2
00000AFC 3F2E FFE4 move.w -[A7], [A6 - 0x1C]
00000B00 486E FFEC pea.l [A6 - 0x14]
00000B04 486E FFF0 pea.l [A6 - 0x10]
00000B08 4EBA 0EE0 jsr [PC + 0xEE0 /* 000019EA */]
00000B0C 3E1F move.w D7, [A7]+
00000B0E 6710 beq +0x12 /* 00000B20 */
00000B10 558F subq.l A7, 2
00000B12 3F2E FFE4 move.w -[A7], [A6 - 0x1C]
00000B16 4EBA 0EB8 jsr [PC + 0xEB8 /* 000019D0 */]
00000B1A 3007 move.w D0, D7
00000B1C 544F addq.w A7, 2
00000B1E 604C bra +0x4E /* 00000B6C */
label00000B20:
00000B20 202E FFE8 move.l D0, [A6 - 0x18]
00000B24 D0AE FFF0 add.l D0, [A6 - 0x10]
00000B28 2C00 move.l D6, D0
00000B2A 5886 addq.l D6, 4
00000B2C 558F subq.l A7, 2
00000B2E 3F2E FFE4 move.w -[A7], [A6 - 0x1C]
00000B32 7001 moveq.l D0, 0x01
00000B34 3F00 move.w -[A7], D0
00000B36 2F06 move.l -[A7], D6
00000B38 4EBA 0F1A jsr [PC + 0xF1A /* 00001A54 */]
00000B3C 3E1F move.w D7, [A7]+
00000B3E 6710 beq +0x12 /* 00000B50 */
00000B40 558F subq.l A7, 2
00000B42 3F2E FFE4 move.w -[A7], [A6 - 0x1C]
00000B46 4EBA 0E88 jsr [PC + 0xE88 /* 000019D0 */]
00000B4A 3007 move.w D0, D7
00000B4C 544F addq.w A7, 2
00000B4E 601C bra +0x1E /* 00000B6C */
label00000B50:
00000B50 302E FFE4 move.w D0, [A6 - 0x1C]
00000B54 48C0 ext.l D0
00000B56 2F00 move.l -[A7], D0
00000B58 302E FFE6 move.w D0, [A6 - 0x1A]
00000B5C 48C0 ext.l D0
00000B5E 2F00 move.l -[A7], D0
00000B60 2F0C move.l -[A7], A4
00000B62 4EBA 0A74 jsr [PC + 0xA74 /* 000015D8 */]
00000B66 7000 moveq.l D0, 0x00
00000B68 4FEF 000C lea.l A7, [A7 + 0xC]
label00000B6C:
00000B6C 4CEE 18C0 FF1C movem.l D6,D7,A3,A4, [A6 - 0xE4]
00000B72 4E5E unlink A6
00000B74 4E75 rts
fn00000B76:
00000B76 4E56 FFEA link A6, -0x0016
00000B7A 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
00000B7E 206E 0008 movea.l A0, [A6 + 0x8]
00000B82 2068 0004 movea.l A0, [A0 + 0x4]
00000B86 2668 0008 movea.l A3, [A0 + 0x8]
00000B8A 3A2B 00EE move.w D5, [A3 + 0xEE]
00000B8E 558F subq.l A7, 2
00000B90 3F05 move.w -[A7], D5
00000B92 486E FFF0 pea.l [A6 - 0x10]
00000B96 4EBA 0E9A jsr [PC + 0xE9A /* 00001A32 */]
00000B9A 3E1F move.w D7, [A7]+
00000B9C 6706 beq +0x8 /* 00000BA4 */
00000B9E 3007 move.w D0, D7
00000BA0 6000 01E8 bra +0x1EA /* 00000D8A */
label00000BA4:
00000BA4 7002 moveq.l D0, 0x02
00000BA6 2D40 FFFC move.l [A6 - 0x4], D0
00000BAA 558F subq.l A7, 2
00000BAC 3F05 move.w -[A7], D5
00000BAE 486E FFFC pea.l [A6 - 0x4]
00000BB2 486E FFEA pea.l [A6 - 0x16]
00000BB6 4EBA 0E32 jsr [PC + 0xE32 /* 000019EA */]
00000BBA 3E1F move.w D7, [A7]+
00000BBC 6706 beq +0x8 /* 00000BC4 */
00000BBE 3007 move.w D0, D7
00000BC0 6000 01C8 bra +0x1CA /* 00000D8A */
label00000BC4:
00000BC4 302E FFEA move.w D0, [A6 - 0x16]
00000BC8 5340 subq.w D0, 1
00000BCA 670A beq +0xC /* 00000BD6 */
00000BCC 5340 subq.w D0, 1
00000BCE 6700 0112 beq +0x114 /* 00000CE2 */
00000BD2 6000 01AE bra +0x1B0 /* 00000D82 */
label00000BD6:
00000BD6 7002 moveq.l D0, 0x02
00000BD8 2D40 FFFC move.l [A6 - 0x4], D0
00000BDC 558F subq.l A7, 2
00000BDE 3F05 move.w -[A7], D5
00000BE0 486E FFFC pea.l [A6 - 0x4]
00000BE4 486E FFEE pea.l [A6 - 0x12]
00000BE8 4EBA 0E00 jsr [PC + 0xE00 /* 000019EA */]
00000BEC 3E1F move.w D7, [A7]+
00000BEE 6706 beq +0x8 /* 00000BF6 */
00000BF0 3007 move.w D0, D7
00000BF2 6000 0196 bra +0x198 /* 00000D8A */
label00000BF6:
00000BF6 322E FFEE move.w D1, [A6 - 0x12]
00000BFA 48C1 ext.l D1
00000BFC D281 add.l D1, D1
00000BFE 2001 move.l D0, D1
00000C00 D080 add.l D0, D0
00000C02 D280 add.l D1, D0
00000C04 2801 move.l D4, D1
00000C06 558F subq.l A7, 2
00000C08 3F05 move.w -[A7], D5
00000C0A 7003 moveq.l D0, 0x03
00000C0C 3F00 move.w -[A7], D0
00000C0E 2F04 move.l -[A7], D4
00000C10 4EBA 0E42 jsr [PC + 0xE42 /* 00001A54 */]
00000C14 3E1F move.w D7, [A7]+
00000C16 6706 beq +0x8 /* 00000C1E */
00000C18 3007 move.w D0, D7
00000C1A 6000 016E bra +0x170 /* 00000D8A */
label00000C1E:
00000C1E 7002 moveq.l D0, 0x02
00000C20 2D40 FFFC move.l [A6 - 0x4], D0
00000C24 558F subq.l A7, 2
00000C26 3F05 move.w -[A7], D5
00000C28 486E FFFC pea.l [A6 - 0x4]
00000C2C 486E FFEC pea.l [A6 - 0x14]
00000C30 4EBA 0DB8 jsr [PC + 0xDB8 /* 000019EA */]
00000C34 3E1F move.w D7, [A7]+
00000C36 6706 beq +0x8 /* 00000C3E */
00000C38 3007 move.w D0, D7
00000C3A 6000 014E bra +0x150 /* 00000D8A */
label00000C3E:
00000C3E 302E FFEC move.w D0, [A6 - 0x14]
00000C42 48C0 ext.l D0
00000C44 E780 asl D0, 3
00000C46 2D40 FFFC move.l [A6 - 0x4], D0
00000C4A A11E syscall NewPtr, flags=1
00000C4C 2648 movea.l A3, A0
00000C4E 200B move.l D0, A3
00000C50 6608 bne +0xA /* 00000C5A */
00000C52 303C FF31 move.w D0, 0xFF31
00000C56 6000 0132 bra +0x134 /* 00000D8A */
label00000C5A:
00000C5A 284B movea.l A4, A3
00000C5C 558F subq.l A7, 2
00000C5E 3F05 move.w -[A7], D5
00000C60 486E FFFC pea.l [A6 - 0x4]
00000C64 2F0C move.l -[A7], A4
00000C66 4EBA 0D82 jsr [PC + 0xD82 /* 000019EA */]
00000C6A 3E1F move.w D7, [A7]+
00000C6C 670A beq +0xC /* 00000C78 */
00000C6E 204C movea.l A0, A4
00000C70 A01F syscall DisposPtr/DisposePtr
00000C72 3007 move.w D0, D7
00000C74 6000 0114 bra +0x116 /* 00000D8A */
label00000C78:
00000C78 4206 clr.b D6
00000C7A 6026 bra +0x28 /* 00000CA2 */
label00000C7C:
00000C7C 7000 moveq.l D0, 0x00
00000C7E 3014 move.w D0, [A4]
00000C80 0C80 0000 8051 cmpi.l D0, 0x8051
00000C86 670C beq +0xE /* 00000C94 */
00000C88 7000 moveq.l D0, 0x00
00000C8A 3014 move.w D0, [A4]
00000C8C 0C80 0000 8050 cmpi.l D0, 0x8050
00000C92 6604 bne +0x6 /* 00000C98 */
label00000C94:
00000C94 7C01 moveq.l D6, 0x01
00000C96 600A bra +0xC /* 00000CA2 */
label00000C98:
00000C98 536E FFEC subq.w [A6 - 0x14], 1
00000C9C 200C move.l D0, A4
00000C9E 5080 addq.l D0, 8
00000CA0 2840 movea.l A4, D0
label00000CA2:
00000CA2 4A06 tst.b D6
00000CA4 6606 bne +0x8 /* 00000CAC */
00000CA6 4A6E FFEC tst.w [A6 - 0x14]
00000CAA 6ED0 bgt -0x2E /* 00000C7C */
label00000CAC:
00000CAC 4A06 tst.b D6
00000CAE 660C bne +0xE /* 00000CBC */
00000CB0 204B movea.l A0, A3
00000CB2 A01F syscall DisposPtr/DisposePtr
00000CB4 303C FF32 move.w D0, 0xFF32
00000CB8 6000 00D0 bra +0xD2 /* 00000D8A */
label00000CBC:
00000CBC 282E FFF0 move.l D4, [A6 - 0x10]
00000CC0 D8AC 0004 add.l D4, [A4 + 0x4]
00000CC4 204B movea.l A0, A3
00000CC6 A01F syscall DisposPtr/DisposePtr
00000CC8 558F subq.l A7, 2
00000CCA 3F05 move.w -[A7], D5
00000CCC 7001 moveq.l D0, 0x01
00000CCE 3F00 move.w -[A7], D0
00000CD0 2F04 move.l -[A7], D4
00000CD2 4EBA 0D80 jsr [PC + 0xD80 /* 00001A54 */]
00000CD6 3E1F move.w D7, [A7]+
00000CD8 6700 00AE beq +0xB0 /* 00000D88 */
00000CDC 3007 move.w D0, D7
00000CDE 6000 00AA bra +0xAC /* 00000D8A */
label00000CE2:
00000CE2 558F subq.l A7, 2
00000CE4 3F05 move.w -[A7], D5
00000CE6 7003 moveq.l D0, 0x03
00000CE8 3F00 move.w -[A7], D0
00000CEA 7204 moveq.l D1, 0x04
00000CEC 2F01 move.l -[A7], D1
00000CEE 4EBA 0D64 jsr [PC + 0xD64 /* 00001A54 */]
00000CF2 3E1F move.w D7, [A7]+
00000CF4 6706 beq +0x8 /* 00000CFC */
00000CF6 3007 move.w D0, D7
00000CF8 6000 0090 bra +0x92 /* 00000D8A */
label00000CFC:
00000CFC 7008 moveq.l D0, 0x08
00000CFE 2D40 FFFC move.l [A6 - 0x4], D0
00000D02 558F subq.l A7, 2
00000D04 3F05 move.w -[A7], D5
00000D06 486E FFFC pea.l [A6 - 0x4]
00000D0A 486E FFF4 pea.l [A6 - 0xC]
00000D0E 4EBA 0CDA jsr [PC + 0xCDA /* 000019EA */]
00000D12 3E1F move.w D7, [A7]+
00000D14 6704 beq +0x6 /* 00000D1A */
00000D16 3007 move.w D0, D7
00000D18 6070 bra +0x72 /* 00000D8A */
label00000D1A:
00000D1A 7000 moveq.l D0, 0x00
00000D1C 302E FFF4 move.w D0, [A6 - 0xC]
00000D20 323C 00FF move.w D1, 0xFF
00000D24 C240 and.w D1, D0
00000D26 7000 moveq.l D0, 0x00
00000D28 3001 move.w D0, D1
00000D2A 7251 moveq.l D1, 0x51
00000D2C B280 cmp.l D1, D0
00000D2E 6716 beq +0x18 /* 00000D46 */
00000D30 7000 moveq.l D0, 0x00
00000D32 302E FFF4 move.w D0, [A6 - 0xC]
00000D36 323C 00FF move.w D1, 0xFF
00000D3A C240 and.w D1, D0
00000D3C 7000 moveq.l D0, 0x00
00000D3E 3001 move.w D0, D1
00000D40 7250 moveq.l D1, 0x50
00000D42 B280 cmp.l D1, D0
00000D44 6618 bne +0x1A /* 00000D5E */
label00000D46:
00000D46 7000 moveq.l D0, 0x00
00000D48 302E FFF4 move.w D0, [A6 - 0xC]
00000D4C 323C 8000 move.w D1, 0x8000
00000D50 C240 and.w D1, D0
00000D52 7000 moveq.l D0, 0x00
00000D54 3001 move.w D0, D1
00000D56 0C80 0000 8000 cmpi.l D0, 0x8000
00000D5C 6706 beq +0x8 /* 00000D64 */
label00000D5E:
00000D5E 303C FF32 move.w D0, 0xFF32
00000D62 6026 bra +0x28 /* 00000D8A */
label00000D64:
00000D64 282E FFF0 move.l D4, [A6 - 0x10]
00000D68 D8AE FFF8 add.l D4, [A6 - 0x8]
00000D6C 558F subq.l A7, 2
00000D6E 3F05 move.w -[A7], D5
00000D70 7001 moveq.l D0, 0x01
00000D72 3F00 move.w -[A7], D0
00000D74 2F04 move.l -[A7], D4
00000D76 4EBA 0CDC jsr [PC + 0xCDC /* 00001A54 */]
00000D7A 3E1F move.w D7, [A7]+
00000D7C 670A beq +0xC /* 00000D88 */
00000D7E 3007 move.w D0, D7
00000D80 6008 bra +0xA /* 00000D8A */
label00000D82:
00000D82 303C FF32 move.w D0, 0xFF32
00000D86 6002 bra +0x4 /* 00000D8A */
label00000D88:
00000D88 7000 moveq.l D0, 0x00
label00000D8A:
00000D8A 4CEE 18F0 FFD2 movem.l D4,D5,D6,D7,A3,A4, [A6 - 0x2E]
00000D90 4E5E unlink A6
00000D92 4E75 rts
fn00000D94:
00000D94 4E56 FF54 link A6, -0x00AC
00000D98 48E7 0308 movem.l -[A7], D6,D7,A4
00000D9C 206E 0008 movea.l A0, [A6 + 0x8]
00000DA0 2068 0004 movea.l A0, [A0 + 0x4]
00000DA4 2868 0008 movea.l A4, [A0 + 0x8]
00000DA8 3C2C 00EE move.w D6, [A4 + 0xEE]
00000DAC 558F subq.l A7, 2
00000DAE 3F06 move.w -[A7], D6
00000DB0 7003 moveq.l D0, 0x03
00000DB2 3F00 move.w -[A7], D0
00000DB4 7214 moveq.l D1, 0x14
00000DB6 2F01 move.l -[A7], D1
00000DB8 4EBA 0C9A jsr [PC + 0xC9A /* 00001A54 */]
00000DBC 3E1F move.w D7, [A7]+
00000DBE 6706 beq +0x8 /* 00000DC6 */
00000DC0 3007 move.w D0, D7
00000DC2 6000 0156 bra +0x158 /* 00000F1A */
label00000DC6:
00000DC6 7001 moveq.l D0, 0x01
00000DC8 2D40 FFFC move.l [A6 - 0x4], D0
00000DCC 558F subq.l A7, 2
00000DCE 3F06 move.w -[A7], D6
00000DD0 486E FFFC pea.l [A6 - 0x4]
00000DD4 486E FFFB pea.l [A6 - 0x5]
00000DD8 4EBA 0C10 jsr [PC + 0xC10 /* 000019EA */]
00000DDC 3E1F move.w D7, [A7]+
00000DDE 6706 beq +0x8 /* 00000DE6 */
00000DE0 3007 move.w D0, D7
00000DE2 6000 0136 bra +0x138 /* 00000F1A */
label00000DE6:
00000DE6 558F subq.l A7, 2
00000DE8 3F06 move.w -[A7], D6
00000DEA 7003 moveq.l D0, 0x03
00000DEC 3F00 move.w -[A7], D0
00000DEE 72EB moveq.l D1, 0xFFFFFFEB
00000DF0 2F01 move.l -[A7], D1
00000DF2 4EBA 0C60 jsr [PC + 0xC60 /* 00001A54 */]
00000DF6 3E1F move.w D7, [A7]+
00000DF8 6706 beq +0x8 /* 00000E00 */
00000DFA 3007 move.w D0, D7
00000DFC 6000 011C bra +0x11E /* 00000F1A */
label00000E00:
00000E00 102E FFFB move.b D0, [A6 - 0x5]
00000E04 6710 beq +0x12 /* 00000E16 */
00000E06 0400 00FE subi.b D0, 0xFE
00000E0A 676A beq +0x6C /* 00000E76 */
00000E0C 5300 subq.b D0, 1
00000E0E 6700 00BC beq +0xBE /* 00000ECC */
00000E12 6000 00FE bra +0x100 /* 00000F12 */
label00000E16:
00000E16 41F8 0016 lea.l A0, [0x00000016]
00000E1A 2D48 FFFC move.l [A6 - 0x4], A0
00000E1E 558F subq.l A7, 2
00000E20 3F06 move.w -[A7], D6
00000E22 486E FFFC pea.l [A6 - 0x4]
00000E26 486E FF5E pea.l [A6 - 0xA2]
00000E2A 4EBA 0BBE jsr [PC + 0xBBE /* 000019EA */]
00000E2E 3E1F move.w D7, [A7]+
00000E30 6706 beq +0x8 /* 00000E38 */
00000E32 3007 move.w D0, D7
00000E34 6000 00E4 bra +0xE6 /* 00000F1A */
label00000E38:
00000E38 397C 0008 0046 move.w [A4 + 0x46], 0x8
00000E3E 397C 0001 0040 move.w [A4 + 0x40], 0x1
00000E44 296E FF62 0042 move.l [A4 + 0x42], [A6 - 0x9E]
00000E4A 2F2E FF66 move.l -[A7], [A6 - 0x9A]
00000E4E 4EBA 0AAC jsr [PC + 0xAAC /* 000018FC */]
00000E52 3D40 FF54 move.w [A6 - 0xAC], D0
00000E56 2D41 FF56 move.l [A6 - 0xAA], D1
00000E5A 2D48 FF5A move.l [A6 - 0xA6], A0
00000E5E 41EE FF54 lea.l A0, [A6 - 0xAC]
00000E62 43EC 0048 lea.l A1, [A4 + 0x48]
00000E66 22D8 move.l [A1]+, [A0]+
00000E68 22D8 move.l [A1]+, [A0]+
00000E6A 32D8 move.w [A1]+, [A0]+
00000E6C 426C 0052 clr.w [A4 + 0x52]
00000E70 584F addq.w A7, 4
00000E72 6000 00A4 bra +0xA6 /* 00000F18 */
label00000E76:
00000E76 41F8 0040 lea.l A0, [0x00000040]
00000E7A 2D48 FFFC move.l [A6 - 0x4], A0
00000E7E 558F subq.l A7, 2
00000E80 3F06 move.w -[A7], D6
00000E82 486E FFFC pea.l [A6 - 0x4]
00000E86 486E FF76 pea.l [A6 - 0x8A]
00000E8A 4EBA 0B5E jsr [PC + 0xB5E /* 000019EA */]
00000E8E 3E1F move.w D7, [A7]+
00000E90 6706 beq +0x8 /* 00000E98 */
00000E92 3007 move.w D0, D7
00000E94 6000 0084 bra +0x86 /* 00000F1A */
label00000E98:
00000E98 396E FFB4 0046 move.w [A4 + 0x46], [A6 - 0x4C]
00000E9E 396E FF7C 0040 move.w [A4 + 0x40], [A6 - 0x84]
00000EA4 396E FFAE 0052 move.w [A4 + 0x52], [A6 - 0x52]
00000EAA 396E FFB0 006E move.w [A4 + 0x6E], [A6 - 0x50]
00000EB0 296E FF8C 0042 move.l [A4 + 0x42], [A6 - 0x74]
00000EB6 41EE FF90 lea.l A0, [A6 - 0x70]
00000EBA 43EC 0048 lea.l A1, [A4 + 0x48]
00000EBE 22D8 move.l [A1]+, [A0]+
00000EC0 22D8 move.l [A1]+, [A0]+
00000EC2 32D8 move.w [A1]+, [A0]+
00000EC4 296E FF9E 0054 move.l [A4 + 0x54], [A6 - 0x62]
00000ECA 604C bra +0x4E /* 00000F18 */
label00000ECC:
00000ECC 41F8 0040 lea.l A0, [0x00000040]
00000ED0 2D48 FFFC move.l [A6 - 0x4], A0
00000ED4 558F subq.l A7, 2
00000ED6 3F06 move.w -[A7], D6
00000ED8 486E FFFC pea.l [A6 - 0x4]
00000EDC 486E FFB8 pea.l [A6 - 0x48]
00000EE0 4EBA 0B08 jsr [PC + 0xB08 /* 000019EA */]
00000EE4 3E1F move.w D7, [A7]+
00000EE6 6704 beq +0x6 /* 00000EEC */
00000EE8 3007 move.w D0, D7
00000EEA 602E bra +0x30 /* 00000F1A */
label00000EEC:
00000EEC 396E FFE8 0046 move.w [A4 + 0x46], [A6 - 0x18]
00000EF2 396E FFBE 0040 move.w [A4 + 0x40], [A6 - 0x42]
00000EF8 296E FFCE 0042 move.l [A4 + 0x42], [A6 - 0x32]
00000EFE 41EE FFD2 lea.l A0, [A6 - 0x2E]
00000F02 43EC 0048 lea.l A1, [A4 + 0x48]
00000F06 22D8 move.l [A1]+, [A0]+
00000F08 22D8 move.l [A1]+, [A0]+
00000F0A 32D8 move.w [A1]+, [A0]+
00000F0C 426C 0052 clr.w [A4 + 0x52]
00000F10 6006 bra +0x8 /* 00000F18 */
label00000F12:
00000F12 303C FF32 move.w D0, 0xFF32
00000F16 6002 bra +0x4 /* 00000F1A */
label00000F18:
00000F18 7000 moveq.l D0, 0x00
label00000F1A:
00000F1A 4CEE 10C0 FF48 movem.l D6,D7,A4, [A6 - 0xB8]
00000F20 4E5E unlink A6
00000F22 4E75 rts
fn00000F24:
00000F24 4E56 FFF8 link A6, -0x0008
00000F28 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
00000F2C 362E 0012 move.w D3, [A6 + 0x12]
00000F30 2D78 0A50 FFF8 move.l [A6 - 0x8], [0x00000A50 /* TopMapHndl */]
00000F36 4207 clr.b D7
00000F38 4205 clr.b D5
00000F3A 206E 000C movea.l A0, [A6 + 0xC]
00000F3E 7000 moveq.l D0, 0x00
00000F40 2080 move.l [A0], D0
00000F42 206E 0008 movea.l A0, [A6 + 0x8]
00000F46 3080 move.w [A0], D0
00000F48 6000 008C bra +0x8E /* 00000FD6 */
label00000F4C:
00000F4C 206E FFF8 movea.l A0, [A6 - 0x8]
00000F50 A029 syscall HLock
00000F52 206E FFF8 movea.l A0, [A6 - 0x8]
00000F56 2050 movea.l A0, [A0]
00000F58 45D0 lea.l A2, [A0]
00000F5A 7000 moveq.l D0, 0x00
00000F5C 302A 0018 move.w D0, [A2 + 0x18]
00000F60 4A80 tst.l D0
00000F62 2840 movea.l A4, D0
00000F64 D9CA add.l A4, A2
00000F66 3C14 move.w D6, [A4]
00000F68 200C move.l D0, A4
00000F6A 5480 addq.l D0, 2
00000F6C 2840 movea.l A4, D0
00000F6E 6014 bra +0x16 /* 00000F84 */
label00000F70:
00000F70 0C94 736E 6420 cmpi.l [A4], 0x736E6420 /* 'snd ' */
00000F76 6604 bne +0x6 /* 00000F7C */
00000F78 7E01 moveq.l D7, 0x01
00000F7A 6008 bra +0xA /* 00000F84 */
label00000F7C:
00000F7C 200C move.l D0, A4
00000F7E 5080 addq.l D0, 8
00000F80 2840 movea.l A4, D0
00000F82 5346 subq.w D6, 1
label00000F84:
00000F84 4A07 tst.b D7
00000F86 6606 bne +0x8 /* 00000F8E */
00000F88 0C46 FFFF cmpi.w D6, 0xFFFF
00000F8C 6EE2 bgt -0x1C /* 00000F70 */
label00000F8E:
00000F8E 4A07 tst.b D7
00000F90 6736 beq +0x38 /* 00000FC8 */
00000F92 382C 0004 move.w D4, [A4 + 0x4]
00000F96 7000 moveq.l D0, 0x00
00000F98 302A 0018 move.w D0, [A2 + 0x18]
00000F9C D08A add.l D0, A2
00000F9E 7200 moveq.l D1, 0x00
00000FA0 322C 0006 move.w D1, [A4 + 0x6]
00000FA4 4A81 tst.l D1
00000FA6 2641 movea.l A3, D1
00000FA8 D7C0 add.l A3, D0
00000FAA 6012 bra +0x14 /* 00000FBE */
label00000FAC:
00000FAC B653 cmp.w D3, [A3]
00000FAE 6604 bne +0x6 /* 00000FB4 */
00000FB0 7A01 moveq.l D5, 0x01
00000FB2 600A bra +0xC /* 00000FBE */
label00000FB4:
00000FB4 5344 subq.w D4, 1
00000FB6 200B move.l D0, A3
00000FB8 720C moveq.l D1, 0x0C
00000FBA D081 add.l D0, D1
00000FBC 2640 movea.l A3, D0
label00000FBE:
00000FBE 4A05 tst.b D5
00000FC0 6606 bne +0x8 /* 00000FC8 */
00000FC2 0C44 FFFF cmpi.w D4, 0xFFFF
00000FC6 6EE4 bgt -0x1A /* 00000FAC */
label00000FC8:
00000FC8 4207 clr.b D7
00000FCA 206E FFF8 movea.l A0, [A6 - 0x8]
00000FCE A02A syscall HUnlock
00000FD0 2D6A 0010 FFF8 move.l [A6 - 0x8], [A2 + 0x10]
label00000FD6:
00000FD6 4A05 tst.b D5
00000FD8 6608 bne +0xA /* 00000FE2 */
00000FDA 4AAE FFF8 tst.l [A6 - 0x8]
00000FDE 6600 FF6C bne -0x92 /* 00000F4C */
label00000FE2:
00000FE2 4A05 tst.b D5
00000FE4 671C beq +0x1E /* 00001002 */
00000FE6 206E 0008 movea.l A0, [A6 + 0x8]
00000FEA 30AA 0014 move.w [A0], [A2 + 0x14]
00000FEE 203C 00FF FFFF move.l D0, 0xFFFFFF
00000FF4 C0AB 0004 and.l D0, [A3 + 0x4]
00000FF8 206E 000C movea.l A0, [A6 + 0xC]
00000FFC 2080 move.l [A0], D0
00000FFE 7001 moveq.l D0, 0x01
00001000 6002 bra +0x4 /* 00001004 */
label00001002:
00001002 7000 moveq.l D0, 0x00
label00001004:
00001004 4CEE 1CF8 FFD8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A6 - 0x28]
0000100A 4E5E unlink A6
0000100C 4E75 rts
fn0000100E:
0000100E 4E56 0000 link A6, 0
00001012 48E7 0018 movem.l -[A7], A3,A4
00001016 266E 0020 movea.l A3, [A6 + 0x20]
0000101A 286E 0008 movea.l A4, [A6 + 0x8]
0000101E 7068 moveq.l D0, 0x68
00001020 204C movea.l A0, A4
00001022 6002 bra +0x4 /* 00001026 */
label00001024:
00001024 4218 clr.b [A0]+
label00001026:
00001026 51C8 FFFC dbf D0, -0x6 /* 00001024 */
0000102A 28AE 000C move.l [A4], [A6 + 0xC]
0000102E 7000 moveq.l D0, 0x00
00001030 2940 0004 move.l [A4 + 0x4], D0
00001034 396E 0012 0012 move.w [A4 + 0x12], [A6 + 0x12]
0000103A 426C 0010 clr.w [A4 + 0x10]
0000103E 422C 0016 clr.b [A4 + 0x16]
00001042 396E 0016 0056 move.w [A4 + 0x56], [A6 + 0x16]
00001048 296E 0018 0008 move.l [A4 + 0x8], [A6 + 0x18]
0000104E 296E 001C 000C move.l [A4 + 0xC], [A6 + 0x1C]
00001054 220B move.l D1, A3
00001056 660A bne +0xC /* 00001062 */
00001058 297C 0000 FFFF 0058 move.l [A4 + 0x58], 0xFFFF
00001060 6010 bra +0x12 /* 00001072 */
label00001062:
00001062 2953 0058 move.l [A4 + 0x58], [A3]
00001066 296B 0004 005C move.l [A4 + 0x5C], [A3 + 0x4]
0000106C 296B 0008 0060 move.l [A4 + 0x60], [A3 + 0x8]
label00001072:
00001072 196E 002B 0014 move.b [A4 + 0x14], [A6 + 0x2B]
00001078 296E 0024 0064 move.l [A4 + 0x64], [A6 + 0x24]
0000107E 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
00001084 4E5E unlink A6
00001086 4E75 rts
fn00001088:
00001088 4E56 0000 link A6, 0
0000108C 48E7 0108 movem.l -[A7], D7,A4
00001090 286E 0008 movea.l A4, [A6 + 0x8]
00001094 4A94 tst.l [A4]
00001096 660E bne +0x10 /* 000010A6 */
00001098 4A2C 0014 tst.b [A4 + 0x14]
0000109C 6708 beq +0xA /* 000010A6 */
0000109E 303C FF33 move.w D0, 0xFF33
000010A2 6000 0082 bra +0x84 /* 00001126 */
label000010A6:
000010A6 4A94 tst.l [A4]
000010A8 662E bne +0x30 /* 000010D8 */
000010AA 558F subq.l A7, 2
000010AC 2F0C move.l -[A7], A4
000010AE 7005 moveq.l D0, 0x05
000010B0 3F00 move.w -[A7], D0
000010B2 7200 moveq.l D1, 0x00
000010B4 2F01 move.l -[A7], D1
000010B6 2F01 move.l -[A7], D1
000010B8 A807 syscall SndNewChannel
000010BA 3E1F move.w D7, [A7]+
000010BC 6704 beq +0x6 /* 000010C2 */
000010BE 3007 move.w D0, D7
000010C0 6064 bra +0x66 /* 00001126 */
label000010C2:
000010C2 2054 movea.l A0, [A4]
000010C4 2068 0004 movea.l A0, [A0 + 0x4]
000010C8 41E8 006A lea.l A0, [A0 + 0x6A]
000010CC 2948 0004 move.l [A4 + 0x4], A0
000010D0 117C 0001 0007 move.b [A0 + 0x7], 0x1
000010D6 6032 bra +0x34 /* 0000110A */
label000010D8:
000010D8 2F14 move.l -[A7], [A4]
000010DA 4EBA 08BE jsr [PC + 0x8BE /* 0000199A */]
000010DE 4A00 tst.b D0
000010E0 584F addq.w A7, 4
000010E2 6706 beq +0x8 /* 000010EA */
000010E4 303C FF33 move.w D0, 0xFF33
000010E8 603C bra +0x3E /* 00001126 */
label000010EA:
000010EA 2054 movea.l A0, [A4]
000010EC 2068 0004 movea.l A0, [A0 + 0x4]
000010F0 41E8 006A lea.l A0, [A0 + 0x6A]
000010F4 2948 0004 move.l [A4 + 0x4], A0
000010F8 4A10 tst.b [A0]
000010FA 6706 beq +0x8 /* 00001102 */
000010FC 303C FF2F move.w D0, 0xFF2F
00001100 6024 bra +0x26 /* 00001126 */
label00001102:
00001102 206C 0004 movea.l A0, [A4 + 0x4]
00001106 4228 0007 clr.b [A0 + 0x7]
label0000110A:
0000110A 206C 0004 movea.l A0, [A4 + 0x4]
0000110E 10BC 0001 move.b [A0], 0x1
00001112 206C 0004 movea.l A0, [A4 + 0x4]
00001116 2154 0018 move.l [A0 + 0x18], [A4]
0000111A 206C 0004 movea.l A0, [A4 + 0x4]
0000111E 216C 0064 0020 move.l [A0 + 0x20], [A4 + 0x64]
00001124 7000 moveq.l D0, 0x00
label00001126:
00001126 4CEE 1080 FFF8 movem.l D7,A4, [A6 - 0x8]
0000112C 4E5E unlink A6
0000112E 4E75 rts
fn00001130:
00001130 4E56 0000 link A6, 0
00001134 48E7 1318 movem.l -[A7], D3,D6,D7,A3,A4
00001138 266E 0008 movea.l A3, [A6 + 0x8]
0000113C 0CAB 0000 4E20 0008 cmpi.l [A3 + 0x8], 0x4E20 /* 'N ' */
00001144 6C08 bge +0xA /* 0000114E */
00001146 303C FF2E move.w D0, 0xFF2E
0000114A 6000 0218 bra +0x21A /* 00001364 */
label0000114E:
0000114E 2C2B 0008 move.l D6, [A3 + 0x8]
00001152 E286 asr D6, 1
00001154 286B 0004 movea.l A4, [A3 + 0x4]
00001158 296B 0008 001C move.l [A4 + 0x1C], [A3 + 0x8]
0000115E 4AAC 000C tst.l [A4 + 0xC]
00001162 6618 bne +0x1A /* 0000117C */
00001164 203C 0000 013C move.l D0, 0x13C
0000116A A122 syscall NewHandle, flags=1
0000116C 2948 000C move.l [A4 + 0xC], A0
00001170 2008 move.l D0, A0
00001172 6634 bne +0x36 /* 000011A8 */
00001174 303C FF31 move.w D0, 0xFF31
00001178 6000 01EA bra +0x1EC /* 00001364 */
label0000117C:
0000117C 206C 000C movea.l A0, [A4 + 0xC]
00001180 4A90 tst.l [A0]
00001182 661E bne +0x20 /* 000011A2 */
00001184 203C 0000 013C move.l D0, 0x13C
0000118A A027 syscall ReallocateHandle
0000118C 4A78 0220 tst.w [0x00000220 /* MemErr */]
00001190 6708 beq +0xA /* 0000119A */
00001192 303C FF31 move.w D0, 0xFF31
00001196 6000 01CC bra +0x1CE /* 00001364 */
label0000119A:
0000119A 206C 000C movea.l A0, [A4 + 0xC]
0000119E A04A syscall HNoPurge
000011A0 6006 bra +0x8 /* 000011A8 */
label000011A2:
000011A2 206C 000C movea.l A0, [A4 + 0xC]
000011A6 A04A syscall HNoPurge
label000011A8:
000011A8 206C 000C movea.l A0, [A4 + 0xC]
000011AC A064 syscall MoveHHi
000011AE 206C 000C movea.l A0, [A4 + 0xC]
000011B2 A029 syscall HLock
000011B4 206C 000C movea.l A0, [A4 + 0xC]
000011B8 2010 move.l D0, [A0]
000011BA A055 syscall StripAddress
000011BC 2940 0008 move.l [A4 + 0x8], D0
000011C0 203C 0000 013C move.l D0, 0x13C
000011C6 206C 0008 movea.l A0, [A4 + 0x8]
000011CA 6002 bra +0x4 /* 000011CE */
label000011CC:
000011CC 4218 clr.b [A0]+
label000011CE:
000011CE 51C8 FFFC dbf D0, -0x6 /* 000011CC */
000011D2 4AAB 000C tst.l [A3 + 0xC]
000011D6 6600 0144 bne +0x146 /* 0000131C */
000011DA 7E00 moveq.l D7, 0x00
label000011DC:
000011DC 2007 move.l D0, D7
000011DE E580 asl D0, 2
000011E0 4AB4 0810 tst.l [A4 + D0 + 0x10]
000011E4 6638 bne +0x3A /* 0000121E */
000011E6 2006 move.l D0, D6
000011E8 A122 syscall NewHandle, flags=1
000011EA 2007 move.l D0, D7
000011EC E580 asl D0, 2
000011EE 2988 0810 move.l [A4 + D0 + 0x10], A0
000011F2 2008 move.l D0, A0
000011F4 6600 00E2 bne +0xE4 /* 000012D8 */
000011F8 206C 000C movea.l A0, [A4 + 0xC]
000011FC A023 syscall DisposHandle/DisposeHandle
000011FE 7000 moveq.l D0, 0x00
00001200 2940 000C move.l [A4 + 0xC], D0
00001204 7201 moveq.l D1, 0x01
00001206 B287 cmp.l D1, D7
00001208 660C bne +0xE /* 00001216 */
0000120A 206C 0010 movea.l A0, [A4 + 0x10]
0000120E A023 syscall DisposHandle/DisposeHandle
00001210 7000 moveq.l D0, 0x00
00001212 2940 0010 move.l [A4 + 0x10], D0
label00001216:
00001216 303C FF31 move.w D0, 0xFF31
0000121A 6000 0148 bra +0x14A /* 00001364 */
label0000121E:
0000121E 2007 move.l D0, D7
00001220 E580 asl D0, 2
00001222 2074 0810 movea.l A0, [A4 + D0 + 0x10]
00001226 4A90 tst.l [A0]
00001228 6658 bne +0x5A /* 00001282 */
0000122A 2007 move.l D0, D7
0000122C E580 asl D0, 2
0000122E 2074 0810 movea.l A0, [A4 + D0 + 0x10]
00001232 2006 move.l D0, D6
00001234 A027 syscall ReallocateHandle
00001236 4A78 0220 tst.w [0x00000220 /* MemErr */]
0000123A 673A beq +0x3C /* 00001276 */
0000123C 206C 000C movea.l A0, [A4 + 0xC]
00001240 A023 syscall DisposHandle/DisposeHandle
00001242 7000 moveq.l D0, 0x00
00001244 2940 000C move.l [A4 + 0xC], D0
00001248 2007 move.l D0, D7
0000124A E580 asl D0, 2
0000124C 2074 0810 movea.l A0, [A4 + D0 + 0x10]
00001250 A023 syscall DisposHandle/DisposeHandle
00001252 2007 move.l D0, D7
00001254 E580 asl D0, 2
00001256 7200 moveq.l D1, 0x00
00001258 2981 0810 move.l [A4 + D0 + 0x10], D1
0000125C 7001 moveq.l D0, 0x01
0000125E B087 cmp.l D0, D7
00001260 660C bne +0xE /* 0000126E */
00001262 206C 0010 movea.l A0, [A4 + 0x10]
00001266 A023 syscall DisposHandle/DisposeHandle
00001268 7000 moveq.l D0, 0x00
0000126A 2940 0010 move.l [A4 + 0x10], D0
label0000126E:
0000126E 303C FF31 move.w D0, 0xFF31
00001272 6000 00F0 bra +0xF2 /* 00001364 */
label00001276:
00001276 2007 move.l D0, D7
00001278 E580 asl D0, 2
0000127A 2074 0810 movea.l A0, [A4 + D0 + 0x10]
0000127E A04A syscall HNoPurge
00001280 6056 bra +0x58 /* 000012D8 */
label00001282:
00001282 2007 move.l D0, D7
00001284 E580 asl D0, 2
00001286 2074 0810 movea.l A0, [A4 + D0 + 0x10]
0000128A A04A syscall HNoPurge
0000128C 2007 move.l D0, D7
0000128E E580 asl D0, 2
00001290 2074 0810 movea.l A0, [A4 + D0 + 0x10]
00001294 2006 move.l D0, D6
00001296 A024 syscall SetHandleSize
00001298 4A78 0220 tst.w [0x00000220 /* MemErr */]
0000129C 673A beq +0x3C /* 000012D8 */
0000129E 206C 000C movea.l A0, [A4 + 0xC]
000012A2 A023 syscall DisposHandle/DisposeHandle
000012A4 7000 moveq.l D0, 0x00
000012A6 2940 000C move.l [A4 + 0xC], D0
000012AA 2007 move.l D0, D7
000012AC E580 asl D0, 2
000012AE 2074 0810 movea.l A0, [A4 + D0 + 0x10]
000012B2 A023 syscall DisposHandle/DisposeHandle
000012B4 2007 move.l D0, D7
000012B6 E580 asl D0, 2
000012B8 7200 moveq.l D1, 0x00
000012BA 2981 0810 move.l [A4 + D0 + 0x10], D1
000012BE 7001 moveq.l D0, 0x01
000012C0 B087 cmp.l D0, D7
000012C2 660C bne +0xE /* 000012D0 */
000012C4 206C 0010 movea.l A0, [A4 + 0x10]
000012C8 A023 syscall DisposHandle/DisposeHandle
000012CA 7000 moveq.l D0, 0x00
000012CC 2940 0010 move.l [A4 + 0x10], D0
label000012D0:
000012D0 303C FF31 move.w D0, 0xFF31
000012D4 6000 008E bra +0x90 /* 00001364 */
label000012D8:
000012D8 2007 move.l D0, D7
000012DA E580 asl D0, 2
000012DC 2074 0810 movea.l A0, [A4 + D0 + 0x10]
000012E0 A064 syscall MoveHHi
000012E2 2007 move.l D0, D7
000012E4 E580 asl D0, 2
000012E6 2074 0810 movea.l A0, [A4 + D0 + 0x10]
000012EA A029 syscall HLock
000012EC 2007 move.l D0, D7
000012EE E580 asl D0, 2
000012F0 2074 0810 movea.l A0, [A4 + D0 + 0x10]
000012F4 2010 move.l D0, [A0]
000012F6 A055 syscall StripAddress
000012F8 206C 0008 movea.l A0, [A4 + 0x8]
000012FC 2207 move.l D1, D7
000012FE E581 asl D1, 2
00001300 41E8 00BC lea.l A0, [A0 + 0xBC]
00001304 2180 1800 move.l [A0 + D1], D0
00001308 2007 move.l D0, D7
0000130A 5287 addq.l D7, 1
0000130C 7002 moveq.l D0, 0x02
0000130E B087 cmp.l D0, D7
00001310 6E00 FECA bgt -0x134 /* 000011DC */
00001314 197C 0001 0006 move.b [A4 + 0x6], 0x1
0000131A 6022 bra +0x24 /* 0000133E */
label0000131C:
0000131C 202B 000C move.l D0, [A3 + 0xC]
00001320 A055 syscall StripAddress
00001322 206C 0008 movea.l A0, [A4 + 0x8]
00001326 2140 00BC move.l [A0 + 0xBC], D0
0000132A 2006 move.l D0, D6
0000132C D0AB 000C add.l D0, [A3 + 0xC]
00001330 A055 syscall StripAddress
00001332 206C 0008 movea.l A0, [A4 + 0x8]
00001336 2140 00C0 move.l [A0 + 0xC0], D0
0000133A 422C 0006 clr.b [A4 + 0x6]
label0000133E:
0000133E 7012 moveq.l D0, 0x12
00001340 206C 0008 movea.l A0, [A4 + 0x8]
00001344 2068 00BC movea.l A0, [A0 + 0xBC]
00001348 6002 bra +0x4 /* 0000134C */
label0000134A:
0000134A 4218 clr.b [A0]+
label0000134C:
0000134C 51C8 FFFC dbf D0, -0x6 /* 0000134A */
00001350 7012 moveq.l D0, 0x12
00001352 206C 0008 movea.l A0, [A4 + 0x8]
00001356 2068 00C0 movea.l A0, [A0 + 0xC0]
0000135A 6002 bra +0x4 /* 0000135E */
label0000135C:
0000135C 4218 clr.b [A0]+
label0000135E:
0000135E 51C8 FFFC dbf D0, -0x6 /* 0000135C */
00001362 7000 moveq.l D0, 0x00
label00001364:
00001364 4CEE 18C8 FFEC movem.l D3,D6,D7,A3,A4, [A6 - 0x14]
0000136A 4E5E unlink A6
0000136C 4E75 rts
fn0000136E:
0000136E 4E56 0000 link A6, 0
00001372 48E7 0118 movem.l -[A7], D7,A3,A4
00001376 266E 0008 movea.l A3, [A6 + 0x8]
0000137A 206B 0004 movea.l A0, [A3 + 0x4]
0000137E 2868 0008 movea.l A4, [A0 + 0x8]
00001382 7014 moveq.l D0, 0x14
00001384 2940 0058 move.l [A4 + 0x58], D0
00001388 558F subq.l A7, 2
0000138A 3F2C 0052 move.w -[A7], [A4 + 0x52]
0000138E 2F2C 0054 move.l -[A7], [A4 + 0x54]
00001392 3F2C 0040 move.w -[A7], [A4 + 0x40]
00001396 3F2C 0046 move.w -[A7], [A4 + 0x46]
0000139A 486C 0058 pea.l [A4 + 0x58]
0000139E 203C 0710 0018 move.l D0, 0x7100018
000013A4 A800 syscall SoundDispatch
000013A6 3E1F move.w D7, [A7]+
000013A8 6704 beq +0x6 /* 000013AE */
000013AA 3007 move.w D0, D7
000013AC 6046 bra +0x48 /* 000013F4 */
label000013AE:
000013AE 296C 005C 0054 move.l [A4 + 0x54], [A4 + 0x5C]
000013B4 396C 0060 0052 move.w [A4 + 0x52], [A4 + 0x60]
000013BA 302C 0064 move.w D0, [A4 + 0x64]
000013BE 48C0 ext.l D0
000013C0 E788 lsl D0, 3
000013C2 3940 006E move.w [A4 + 0x6E], D0
000013C6 396C 0066 006C move.w [A4 + 0x6C], [A4 + 0x66]
000013CC 41F8 0010 lea.l A0, [0x00000010 /* __m68k_vec_illegal__ */]
000013D0 2008 move.l D0, A0
000013D2 D080 add.l D0, D0
000013D4 2E2B 0008 move.l D7, [A3 + 0x8]
000013D8 9E80 sub.l D7, D0
000013DA 2007 move.l D0, D7
000013DC E280 asr D0, 1
000013DE 2E00 move.l D7, D0
000013E0 302C 006C move.w D0, [A4 + 0x6C]
000013E4 48C0 ext.l D0
000013E6 2200 move.l D1, D0
000013E8 2007 move.l D0, D7
000013EA 4EBA 0702 jsr [PC + 0x702 /* 00001AEE */]
000013EE 2940 007C move.l [A4 + 0x7C], D0
000013F2 7000 moveq.l D0, 0x00
label000013F4:
000013F4 4CEE 1880 FFF4 movem.l D7,A3,A4, [A6 - 0xC]
000013FA 4E5E unlink A6
000013FC 4E75 rts
fn000013FE:
000013FE 4E56 FFCA link A6, -0x0036
00001402 48E7 0F18 movem.l -[A7], D4,D5,D6,D7,A3,A4
00001406 266E 0008 movea.l A3, [A6 + 0x8]
0000140A 206B 0004 movea.l A0, [A3 + 0x4]
0000140E 2868 0008 movea.l A4, [A0 + 0x8]
00001412 302C 0062 move.w D0, [A4 + 0x62]
00001416 48C0 ext.l D0
00001418 2200 move.l D1, D0
0000141A 202C 0042 move.l D0, [A4 + 0x42]
0000141E 4EBA 06A6 jsr [PC + 0x6A6 /* 00001AC6 */]
00001422 2D40 FFD4 move.l [A6 - 0x2C], D0
00001426 486E FFD4 pea.l [A6 - 0x2C]
0000142A 486E FFD8 pea.l [A6 - 0x28]
0000142E 3F3C 280E move.w -[A7], 0x280E
00001432 A9EB syscall Pack4/FP68K
00001434 486C 0048 pea.l [A4 + 0x48]
00001438 486E FFD8 pea.l [A6 - 0x28]
0000143C 3F3C 0006 move.w -[A7], 0x6
00001440 A9EB syscall Pack4/FP68K
00001442 41EE FFD8 lea.l A0, [A6 - 0x28]
00001446 43EE FFF6 lea.l A1, [A6 - 0xA]
0000144A 22D8 move.l [A1]+, [A0]+
0000144C 22D8 move.l [A1]+, [A0]+
0000144E 32D8 move.w [A1]+, [A0]+
00001450 41EE 0000 lea.l A0, [A6 + 0x0]
00001454 2F20 move.l -[A7], -[A0]
00001456 2F20 move.l -[A7], -[A0]
00001458 3F20 move.w -[A7], -[A0]
0000145A 4EBA 04D6 jsr [PC + 0x4D6 /* 00001932 */]
0000145E 2E00 move.l D7, D0
00001460 202B 0058 move.l D0, [A3 + 0x58]
00001464 4FEF 000A lea.l A7, [A7 + 0xA]
00001468 6722 beq +0x24 /* 0000148C */
0000146A 0480 0000 FFFF subi.l D0, 0xFFFF
00001470 6600 0156 bne +0x158 /* 000015C8 */
00001474 7000 moveq.l D0, 0x00
00001476 2940 0070 move.l [A4 + 0x70], D0
0000147A 2947 0074 move.l [A4 + 0x74], D7
0000147E 2947 0078 move.l [A4 + 0x78], D7
00001482 296C 0042 0080 move.l [A4 + 0x80], [A4 + 0x42]
00001488 6000 0142 bra +0x144 /* 000015CC */
label0000148C:
0000148C 296B 005C 0070 move.l [A4 + 0x70], [A3 + 0x5C]
00001492 296B 0060 0074 move.l [A4 + 0x74], [A3 + 0x60]
00001498 BEAC 0074 cmp.l D7, [A4 + 0x74]
0000149C 6404 bcc +0x6 /* 000014A2 */
0000149E 2947 0074 move.l [A4 + 0x74], D7
label000014A2:
000014A2 202C 0070 move.l D0, [A4 + 0x70]
000014A6 B0AC 0074 cmp.l D0, [A4 + 0x74]
000014AA 6306 bls +0x8 /* 000014B2 */
000014AC 70CE moveq.l D0, 0xFFFFFFCE
000014AE 6000 011E bra +0x120 /* 000015CE */
label000014B2:
000014B2 202C 0074 move.l D0, [A4 + 0x74]
000014B6 90AC 0070 sub.l D0, [A4 + 0x70]
000014BA 2940 0078 move.l [A4 + 0x78], D0
000014BE 2F2C 0070 move.l -[A7], [A4 + 0x70]
000014C2 4EBA 0438 jsr [PC + 0x438 /* 000018FC */]
000014C6 3D40 FFD8 move.w [A6 - 0x28], D0
000014CA 2D41 FFDA move.l [A6 - 0x26], D1
000014CE 2D48 FFDE move.l [A6 - 0x22], A0
000014D2 41EE FFD8 lea.l A0, [A6 - 0x28]
000014D6 43EE FFE2 lea.l A1, [A6 - 0x1E]
000014DA 22D8 move.l [A1]+, [A0]+
000014DC 22D8 move.l [A1]+, [A0]+
000014DE 32D8 move.w [A1]+, [A0]+
000014E0 2F2C 0074 move.l -[A7], [A4 + 0x74]
000014E4 4EBA 0416 jsr [PC + 0x416 /* 000018FC */]
000014E8 3D40 FFD8 move.w [A6 - 0x28], D0
000014EC 2D41 FFDA move.l [A6 - 0x26], D1
000014F0 2D48 FFDE move.l [A6 - 0x22], A0
000014F4 41EE FFD8 lea.l A0, [A6 - 0x28]
000014F8 43EE FFEC lea.l A1, [A6 - 0x14]
000014FC 22D8 move.l [A1]+, [A0]+
000014FE 22D8 move.l [A1]+, [A0]+
00001500 32D8 move.w [A1]+, [A0]+
00001502 486E FFE2 pea.l [A6 - 0x1E]
00001506 41EE FFD8 lea.l A0, [A6 - 0x28]
0000150A 43EC 0048 lea.l A1, [A4 + 0x48]
0000150E 20D9 move.l [A0]+, [A1]+
00001510 20D9 move.l [A0]+, [A1]+
00001512 30D9 move.w [A0]+, [A1]+
00001514 486E FFD8 pea.l [A6 - 0x28]
00001518 3F3C 0004 move.w -[A7], 0x4
0000151C A9EB syscall Pack4/FP68K
0000151E 41EE FFD8 lea.l A0, [A6 - 0x28]
00001522 43EE FFCA lea.l A1, [A6 - 0x36]
00001526 22D8 move.l [A1]+, [A0]+
00001528 22D8 move.l [A1]+, [A0]+
0000152A 32D8 move.w [A1]+, [A0]+
0000152C 486E FFCA pea.l [A6 - 0x36]
00001530 3F3C 0016 move.w -[A7], 0x16
00001534 A9EB syscall Pack4/FP68K
00001536 486E FFCA pea.l [A6 - 0x36]
0000153A 4EBA 0640 jsr [PC + 0x640 /* 00001B7C */]
0000153E 2E00 move.l D7, D0
00001540 486E FFEC pea.l [A6 - 0x14]
00001544 41EE FFD8 lea.l A0, [A6 - 0x28]
00001548 43EC 0048 lea.l A1, [A4 + 0x48]
0000154C 20D9 move.l [A0]+, [A1]+
0000154E 20D9 move.l [A0]+, [A1]+
00001550 30D9 move.w [A0]+, [A1]+
00001552 486E FFD8 pea.l [A6 - 0x28]
00001556 3F3C 0004 move.w -[A7], 0x4
0000155A A9EB syscall Pack4/FP68K
0000155C 41EE FFD8 lea.l A0, [A6 - 0x28]
00001560 43EE FFCA lea.l A1, [A6 - 0x36]
00001564 22D8 move.l [A1]+, [A0]+
00001566 22D8 move.l [A1]+, [A0]+
00001568 32D8 move.w [A1]+, [A0]+
0000156A 486E FFCA pea.l [A6 - 0x36]
0000156E 3F3C 0016 move.w -[A7], 0x16
00001572 A9EB syscall Pack4/FP68K
00001574 486E FFCA pea.l [A6 - 0x36]
00001578 4EBA 0602 jsr [PC + 0x602 /* 00001B7C */]
0000157C 2A00 move.l D5, D0
0000157E 302C 0062 move.w D0, [A4 + 0x62]
00001582 48C0 ext.l D0
00001584 2200 move.l D1, D0
00001586 2007 move.l D0, D7
00001588 4EBA 0564 jsr [PC + 0x564 /* 00001AEE */]
0000158C 322C 0066 move.w D1, [A4 + 0x66]
00001590 48C1 ext.l D1
00001592 4EBA 0532 jsr [PC + 0x532 /* 00001AC6 */]
00001596 2800 move.l D4, D0
00001598 558F subq.l A7, 2
0000159A 3F2C 00EE move.w -[A7], [A4 + 0xEE]
0000159E 7003 moveq.l D0, 0x03
000015A0 3F00 move.w -[A7], D0
000015A2 2F04 move.l -[A7], D4
000015A4 4EBA 04AE jsr [PC + 0x4AE /* 00001A54 */]
000015A8 3C1F move.w D6, [A7]+
000015AA 4FEF 0010 lea.l A7, [A7 + 0x10]
000015AE 6704 beq +0x6 /* 000015B4 */
000015B0 3006 move.w D0, D6
000015B2 601A bra +0x1C /* 000015CE */
label000015B4:
000015B4 2005 move.l D0, D5
000015B6 9087 sub.l D0, D7
000015B8 322C 0062 move.w D1, [A4 + 0x62]
000015BC 48C1 ext.l D1
000015BE 4EBA 052E jsr [PC + 0x52E /* 00001AEE */]
000015C2 2940 0080 move.l [A4 + 0x80], D0
000015C6 6004 bra +0x6 /* 000015CC */
label000015C8:
000015C8 70CE moveq.l D0, 0xFFFFFFCE
000015CA 6002 bra +0x4 /* 000015CE */
label000015CC:
000015CC 7000 moveq.l D0, 0x00
label000015CE:
000015CE 4CEE 18F0 FFB2 movem.l D4,D5,D6,D7,A3,A4, [A6 - 0x4E]
000015D4 4E5E unlink A6
000015D6 4E75 rts
fn000015D8:
000015D8 4E56 0000 link A6, 0
000015DC 48E7 1718 movem.l -[A7], D3,D5,D6,D7,A3,A4
000015E0 3A2E 0012 move.w D5, [A6 + 0x12]
000015E4 3C2E 000E move.w D6, [A6 + 0xE]
000015E8 266E 0008 movea.l A3, [A6 + 0x8]
000015EC 4247 clr.w D7
000015EE 7602 moveq.l D3, 0x02
label000015F0:
000015F0 4A47 tst.w D7
000015F2 660A bne +0xC /* 000015FE */
000015F4 49EB 00D6 lea.l A4, [A3 + 0xD6]
000015F8 3747 00D4 move.w [A3 + 0xD4], D7
000015FC 6008 bra +0xA /* 00001606 */
label000015FE:
000015FE 49EB 010A lea.l A4, [A3 + 0x10A]
00001602 3747 0108 move.w [A3 + 0x108], D7
label00001606:
00001606 41FA EB40 lea.l A0, [PC - 0x14C0 /* 00000148, value 0x48E7FFFE */]
0000160A 2948 000C move.l [A4 + 0xC], A0
0000160E 426C 0010 clr.w [A4 + 0x10]
00001612 294B 0012 move.l [A4 + 0x12], A3
00001616 3946 0016 move.w [A4 + 0x16], D6
0000161A 3945 0018 move.w [A4 + 0x18], D5
0000161E 426C 001A clr.w [A4 + 0x1A]
00001622 7000 moveq.l D0, 0x00
00001624 2940 001C move.l [A4 + 0x1C], D0
00001628 2940 0020 move.l [A4 + 0x20], D0
0000162C 2940 0024 move.l [A4 + 0x24], D0
00001630 2940 0028 move.l [A4 + 0x28], D0
00001634 426C 002C clr.w [A4 + 0x2C]
00001638 2940 002E move.l [A4 + 0x2E], D0
0000163C 3007 move.w D0, D7
0000163E 5247 addq.w D7, 1
00001640 B647 cmp.w D3, D7
00001642 6EAC bgt -0x52 /* 000015F0 */
00001644 4CEE 18E8 FFE8 movem.l D3,D5,D6,D7,A3,A4, [A6 - 0x18]
0000164A 4E5E unlink A6
0000164C 4E75 rts
fn0000164E:
0000164E 4E56 0000 link A6, 0
00001652 48E7 0018 movem.l -[A7], A3,A4
00001656 266E 0008 movea.l A3, [A6 + 0x8]
0000165A 206B 0004 movea.l A0, [A3 + 0x4]
0000165E 2868 0008 movea.l A4, [A0 + 0x8]
00001662 486C 00D6 pea.l [A4 + 0xD6]
00001666 2F0C move.l -[A7], A4
00001668 4EBA EA46 jsr [PC - 0x15BA /* 000000B0 */]
0000166C 504F addq.w A7, 8
label0000166E:
0000166E 4A6C 00E6 tst.w [A4 + 0xE6]
00001672 6EFA bgt -0x4 /* 0000166E */
00001674 4A6C 00E6 tst.w [A4 + 0xE6]
00001678 6708 beq +0xA /* 00001682 */
0000167A 70D9 moveq.l D0, 0xFFFFFFD9
0000167C B06C 00E6 cmp.w D0, [A4 + 0xE6]
00001680 6620 bne +0x22 /* 000016A2 */
label00001682:
00001682 206B 0004 movea.l A0, [A3 + 0x4]
00001686 4A28 0001 tst.b [A0 + 0x1]
0000168A 6708 beq +0xA /* 00001694 */
0000168C 117C 0001 0004 move.b [A0 + 0x4], 0x1
00001692 6014 bra +0x16 /* 000016A8 */
label00001694:
00001694 486C 010A pea.l [A4 + 0x10A]
00001698 2F0C move.l -[A7], A4
0000169A 4EBA EA14 jsr [PC - 0x15EC /* 000000B0 */]
0000169E 504F addq.w A7, 8
000016A0 6006 bra +0x8 /* 000016A8 */
label000016A2:
000016A2 302C 00E6 move.w D0, [A4 + 0xE6]
000016A6 6002 bra +0x4 /* 000016AA */
label000016A8:
000016A8 7000 moveq.l D0, 0x00
label000016AA:
000016AA 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
000016B0 4E5E unlink A6
000016B2 4E75 rts
fn000016B4:
000016B4 4E56 0000 link A6, 0
000016B8 48E7 0018 movem.l -[A7], A3,A4
000016BC 266E 0008 movea.l A3, [A6 + 0x8]
000016C0 206B 0004 movea.l A0, [A3 + 0x4]
000016C4 2868 0008 movea.l A4, [A0 + 0x8]
000016C8 397C 0007 008C move.w [A4 + 0x8C], 0x7
000016CE 426C 008E clr.w [A4 + 0x8E]
000016D2 41FA E940 lea.l A0, [PC - 0x16C0 /* 00000014, value 0x20690008, cstring " i" */]
000016D6 2948 0090 move.l [A4 + 0x90], A0
000016DA 296B 0004 0094 move.l [A4 + 0x94], [A3 + 0x4]
000016E0 7000 moveq.l D0, 0x00
000016E2 2940 0098 move.l [A4 + 0x98], D0
000016E6 397C 0007 00A0 move.w [A4 + 0xA0], 0x7
000016EC 426C 00A2 clr.w [A4 + 0xA2]
000016F0 41FA E92C lea.l A0, [PC - 0x16D4 /* 0000001E, value 0x20690008, cstring " i" */]
000016F4 2948 00A4 move.l [A4 + 0xA4], A0
000016F8 296B 0004 00A8 move.l [A4 + 0xA8], [A3 + 0x4]
000016FE 2940 00AC move.l [A4 + 0xAC], D0
00001702 7000 moveq.l D0, 0x00
00001704 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
0000170A 4E5E unlink A6
0000170C 4E75 rts
0000170E 4E56 0000 link A6, 0
00001712 2F0C move.l -[A7], A4
00001714 206E 0008 movea.l A0, [A6 + 0x8]
00001718 2868 0008 movea.l A4, [A0 + 0x8]
0000171C 204C movea.l A0, A4
0000171E A082 syscall DTInstall
00001720 286E FFFC movea.l A4, [A6 - 0x4]
00001724 4E5E unlink A6
00001726 205F movea.l A0, [A7]+
00001728 504F addq.w A7, 8
0000172A 4ED0 jmp [A0]
fn0000172C:
0000172C 4E56 0000 link A6, 0
00001730 48E7 0018 movem.l -[A7], A3,A4
00001734 266E 0008 movea.l A3, [A6 + 0x8]
00001738 206B 0004 movea.l A0, [A3 + 0x4]
0000173C 2868 0008 movea.l A4, [A0 + 0x8]
00001740 396C 0040 00B0 move.w [A4 + 0xB0], [A4 + 0x40]
00001746 396C 0046 00B2 move.w [A4 + 0xB2], [A4 + 0x46]
0000174C 396C 0052 00B4 move.w [A4 + 0xB4], [A4 + 0x52]
00001752 396C 006E 00B6 move.w [A4 + 0xB6], [A4 + 0x6E]
00001758 41EC 0052 lea.l A0, [A4 + 0x52]
0000175C 2F20 move.l -[A7], -[A0]
0000175E 2F20 move.l -[A7], -[A0]
00001760 3F20 move.w -[A7], -[A0]
00001762 4EBA 01CE jsr [PC + 0x1CE /* 00001932 */]
00001766 2940 00B8 move.l [A4 + 0xB8], D0
0000176A 41FA FFA2 lea.l A0, [PC - 0x5E /* 0000170E, value 0x4E560000 'NV\0\0', cstring "NV" */]
0000176E 2008 move.l D0, A0
00001770 A055 syscall StripAddress
00001772 2940 00C4 move.l [A4 + 0xC4], D0
00001776 296C 0054 00C8 move.l [A4 + 0xC8], [A4 + 0x54]
0000177C 41EC 0088 lea.l A0, [A4 + 0x88]
00001780 226C 00BC movea.l A1, [A4 + 0xBC]
00001784 2348 0008 move.l [A1 + 0x8], A0
00001788 41EC 009C lea.l A0, [A4 + 0x9C]
0000178C 226C 00C0 movea.l A1, [A4 + 0xC0]
00001790 2348 0008 move.l [A1 + 0x8], A0
00001794 206C 00BC movea.l A0, [A4 + 0xBC]
00001798 216B 0004 000C move.l [A0 + 0xC], [A3 + 0x4]
0000179E 206C 00C0 movea.l A0, [A4 + 0xC0]
000017A2 216B 0004 000C move.l [A0 + 0xC], [A3 + 0x4]
000017A8 4CEE 1800 FFF8 movem.l A3,A4, [A6 - 0x8]
000017AE 4E5E unlink A6
000017B0 4E75 rts
fn000017B2:
000017B2 4E56 FFFC link A6, -0x0004
000017B6 48E7 0138 movem.l -[A7], D7,A2,A3,A4
000017BA 286E 0008 movea.l A4, [A6 + 0x8]
000017BE 206C 0004 movea.l A0, [A4 + 0x4]
000017C2 45E8 006A lea.l A2, [A0 + 0x6A]
000017C6 266A 0008 movea.l A3, [A2 + 0x8]
000017CA 558F subq.l A7, 2
000017CC 2F0C move.l -[A7], A4
000017CE 486B 00B0 pea.l [A3 + 0xB0]
000017D2 203C 0020 0008 move.l D0, 0x200008
000017D8 A800 syscall SoundDispatch
000017DA 3E1F move.w D7, [A7]+
000017DC 3007 move.w D0, D7
000017DE 4CEE 1C80 FFEC movem.l D7,A2,A3,A4, [A6 - 0x14]
000017E4 4E5E unlink A6
000017E6 4E75 rts
fn000017E8:
000017E8 4E56 0000 link A6, 0
000017EC 2F0C move.l -[A7], A4
000017EE 286E 0008 movea.l A4, [A6 + 0x8]
000017F2 4A2C 0014 tst.b [A4 + 0x14]
000017F6 6608 bne +0xA /* 00001800 */
label000017F8:
000017F8 206C 0004 movea.l A0, [A4 + 0x4]
000017FC 4A10 tst.b [A0]
000017FE 66F8 bne -0x6 /* 000017F8 */
label00001800:
00001800 286E FFFC movea.l A4, [A6 - 0x4]
00001804 4E5E unlink A6
00001806 4E75 rts
fn00001808:
00001808 4E56 0000 link A6, 0
0000180C 2F0C move.l -[A7], A4
0000180E 206E 0008 movea.l A0, [A6 + 0x8]
00001812 2068 0004 movea.l A0, [A0 + 0x4]
00001816 49E8 006A lea.l A4, [A0 + 0x6A]
0000181A 4A2C 0006 tst.b [A4 + 0x6]
0000181E 6718 beq +0x1A /* 00001838 */
00001820 206C 0010 movea.l A0, [A4 + 0x10]
00001824 A02A syscall HUnlock
00001826 206C 0010 movea.l A0, [A4 + 0x10]
0000182A A049 syscall HPurge
0000182C 206C 0014 movea.l A0, [A4 + 0x14]
00001830 A02A syscall HUnlock
00001832 206C 0014 movea.l A0, [A4 + 0x14]
00001836 A049 syscall HPurge
label00001838:
00001838 206C 000C movea.l A0, [A4 + 0xC]
0000183C A02A syscall HUnlock
0000183E 206C 000C movea.l A0, [A4 + 0xC]
00001842 A049 syscall HPurge
00001844 286E FFFC movea.l A4, [A6 - 0x4]
00001848 4E5E unlink A6
0000184A 4E75 rts
fn0000184C:
0000184C 4E56 FFF4 link A6, -0x000C
00001850 48E7 0038 movem.l -[A7], A2,A3,A4
00001854 266E 0008 movea.l A3, [A6 + 0x8]
00001858 206B 0004 movea.l A0, [A3 + 0x4]
0000185C 49E8 006A lea.l A4, [A0 + 0x6A]
00001860 4A2C 0007 tst.b [A4 + 0x7]
00001864 6706 beq +0x8 /* 0000186C */
00001866 006B 0040 001C ori.w [A3 + 0x1C], 0x40 /* '@' */
label0000186C:
0000186C 2D6C 000C FFF4 move.l [A6 - 0xC], [A4 + 0xC]
00001872 47EC 0010 lea.l A3, [A4 + 0x10]
00001876 2253 movea.l A1, [A3]
00001878 246B 0004 movea.l A2, [A3 + 0x4]
0000187C 2F09 move.l -[A7], A1
0000187E 7024 moveq.l D0, 0x24
00001880 204C movea.l A0, A4
00001882 6002 bra +0x4 /* 00001886 */
label00001884:
00001884 4218 clr.b [A0]+
label00001886:
00001886 51C8 FFFC dbf D0, -0x6 /* 00001884 */
0000188A 225F movea.l A1, [A7]+
0000188C 296E FFF4 000C move.l [A4 + 0xC], [A6 - 0xC]
00001892 2949 0010 move.l [A4 + 0x10], A1
00001896 294A 0014 move.l [A4 + 0x14], A2
0000189A 4CEE 1C00 FFE8 movem.l A2,A3,A4, [A6 - 0x18]
000018A0 4E5E unlink A6
000018A2 4E75 rts
fn000018A4:
000018A4 4E56 FFC2 link A6, -0x003E
000018A8 2F07 move.l -[A7], D7
000018AA 703E moveq.l D0, 0x3E
000018AC 41EE FFC2 lea.l A0, [A6 - 0x3E]
000018B0 6002 bra +0x4 /* 000018B4 */
label000018B2:
000018B2 4218 clr.b [A0]+
label000018B4:
000018B4 51C8 FFFC dbf D0, -0x6 /* 000018B2 */
000018B8 7000 moveq.l D0, 0x00
000018BA 2D40 FFCE move.l [A6 - 0x32], D0
000018BE 2D6E 0014 FFD4 move.l [A6 - 0x2C], [A6 + 0x14]
000018C4 426E FFD8 clr.w [A6 - 0x28]
000018C8 3D6E 000A FFDA move.w [A6 - 0x26], [A6 + 0xA]
000018CE 426E FFDE clr.w [A6 - 0x22]
000018D2 41EE FFC2 lea.l A0, [A6 - 0x3E]
000018D6 7008 moveq.l D0, 0x08
000018D8 A260 syscall FSDispatch/HFSDispatch, flags=2
000018DA 3E00 move.w D7, D0
000018DC 6704 beq +0x6 /* 000018E2 */
000018DE 3007 move.w D0, D7
000018E0 6012 bra +0x14 /* 000018F4 */
label000018E2:
000018E2 206E 000C movea.l A0, [A6 + 0xC]
000018E6 30AE FFF6 move.w [A0], [A6 - 0xA]
000018EA 206E 0010 movea.l A0, [A6 + 0x10]
000018EE 20AE FFFC move.l [A0], [A6 - 0x4]
000018F2 7000 moveq.l D0, 0x00
label000018F4:
000018F4 2E2E FFBE move.l D7, [A6 - 0x42]
000018F8 4E5E unlink A6
000018FA 4E75 rts
fn000018FC:
000018FC 4E56 FFF6 link A6, -0x000A
00001900 486E FFF6 pea.l [A6 - 0xA]
00001904 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001908 4EBA 0294 jsr [PC + 0x294 /* 00001B9E */]
0000190C 487A 001A pea.l [PC + 0x1A /* 00001928, value 0x400F8000 */]
00001910 486E FFF6 pea.l [A6 - 0xA]
00001914 3F3C 0006 move.w -[A7], 0x6
00001918 A9EB syscall Pack4/FP68K
0000191A 41EE FFF6 lea.l A0, [A6 - 0xA]
0000191E 3018 move.w D0, [A0]+
00001920 2218 move.l D1, [A0]+
00001922 2050 movea.l A0, [A0]
00001924 4E5E unlink A6
00001926 4E75 rts
00001928 400F negx.b A7
0000192A 8000 or.b D0, D0
0000192C 0000 0000 ori.b D0, 0x0
00001930 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00001932-00001936
fn00001932:
00001932 4E56 FFEC link A6, -0x0014
// end alternate branch 00001932-00001936
fn00001932: // (misaligned)
00001934 FFEC .invalid <<F/7/7>>
00001936 41FA 0058 lea.l A0, [PC + 0x58 /* 00001990, value 0x400DFFFE */]
0000193A 43EE FFF6 lea.l A1, [A6 - 0xA]
0000193E 22D8 move.l [A1]+, [A0]+
00001940 22D8 move.l [A1]+, [A0]+
00001942 32D8 move.w [A1]+, [A0]+
00001944 486E FFF6 pea.l [A6 - 0xA]
00001948 486E 0008 pea.l [A6 + 0x8]
0000194C 3F3C 000A move.w -[A7], 0xA /* '\n' */
00001950 A9EB syscall Pack4/FP68K
00001952 6F2E ble +0x30 /* 00001982 */
00001954 598F subq.l A7, 4
00001956 486E FFF6 pea.l [A6 - 0xA]
0000195A 41EE FFEC lea.l A0, [A6 - 0x14]
0000195E 43EE 0008 lea.l A1, [A6 + 0x8]
00001962 20D9 move.l [A0]+, [A1]+
00001964 20D9 move.l [A0]+, [A1]+
00001966 30D9 move.w [A0]+, [A1]+
00001968 486E FFEC pea.l [A6 - 0x14]
0000196C 3F3C 0002 move.w -[A7], 0x2
00001970 A9EB syscall Pack4/FP68K
00001972 486E FFEC pea.l [A6 - 0x14]
00001976 A844 syscall X2Fix
00001978 201F move.l D0, [A7]+
0000197A D0BC 7FFF 0000 add.l D0, 0x7FFF0000
00001980 600A bra +0xC /* 0000198C */
label00001982:
00001982 598F subq.l A7, 4
00001984 486E 0008 pea.l [A6 + 0x8]
00001988 A844 syscall X2Fix
0000198A 201F move.l D0, [A7]+
label0000198C:
0000198C 4E5E unlink A6
0000198E 4E75 rts
00001990 400D negx.b A5
00001992 FFFE .invalid <<F/7/7>>
00001994 0000 0000 ori.b D0, 0x0
00001998 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000199A-0000199E
fn0000199A:
0000199A 4E56 FFFC link A6, -0x0004
// end alternate branch 0000199A-0000199E
fn0000199A: // (misaligned)
0000199C FFFC .invalid <<F/7/7>>
0000199E 48E7 0038 movem.l -[A7], A2,A3,A4
000019A2 266E 0008 movea.l A3, [A6 + 0x8]
000019A6 2078 02B6 movea.l A0, [0x000002B6 /* ExpandMem */]
000019AA 2468 0110 movea.l A2, [A0 + 0x110]
000019AE 7201 moveq.l D1, 0x01
000019B0 2852 movea.l A4, [A2]
000019B2 600C bra +0xE /* 000019C0 */
label000019B4:
000019B4 B9CB cmpa.l A4, A3
000019B6 6704 beq +0x6 /* 000019BC */
000019B8 2854 movea.l A4, [A4]
000019BA 6004 bra +0x6 /* 000019C0 */
label000019BC:
000019BC 4201 clr.b D1
000019BE 6004 bra +0x6 /* 000019C4 */
label000019C0:
000019C0 200C move.l D0, A4
000019C2 66F0 bne -0xE /* 000019B4 */
label000019C4:
000019C4 1001 move.b D0, D1
000019C6 4CEE 1C00 FFF0 movem.l A2,A3,A4, [A6 - 0x10]
000019CC 4E5E unlink A6
000019CE 4E75 rts
fn000019D0:
000019D0 4E56 FFCE link A6, -0x0032
000019D4 204F movea.l A0, A7
000019D6 316E 0008 0018 move.w [A0 + 0x18], [A6 + 0x8]
000019DC A001 syscall Close
000019DE 3D40 000A move.w [A6 + 0xA], D0
000019E2 4E5E unlink A6
000019E4 205F movea.l A0, [A7]+
000019E6 548F addq.l A7, 2
000019E8 4ED0 jmp [A0]
fn000019EA:
000019EA 51C1 sf D1
000019EC 6002 bra +0x4 /* 000019F0 */
000019EE 50C1 st D1
label000019F0:
000019F0 4E56 FFCE link A6, -0x0032
000019F4 204F movea.l A0, A7
000019F6 216E 0008 0020 move.l [A0 + 0x20], [A6 + 0x8]
000019FC 316E 0010 0018 move.w [A0 + 0x18], [A6 + 0x10]
00001A02 226E 000C movea.l A1, [A6 + 0xC]
00001A06 2151 0024 move.l [A0 + 0x24], [A1]
00001A0A 4268 002C clr.w [A0 + 0x2C]
00001A0E 42A8 002E clr.l [A0 + 0x2E]
00001A12 4A01 tst.b D1
00001A14 6604 bne +0x6 /* 00001A1A */
00001A16 A002 syscall Read
00001A18 6002 bra +0x4 /* 00001A1C */
label00001A1A:
00001A1A A003 syscall Write
label00001A1C:
00001A1C 3D40 0012 move.w [A6 + 0x12], D0
00001A20 226E 000C movea.l A1, [A6 + 0xC]
00001A24 22A8 0028 move.l [A1], [A0 + 0x28]
00001A28 4E5E unlink A6
00001A2A 225F movea.l A1, [A7]+
00001A2C 4FEF 000A lea.l A7, [A7 + 0xA]
00001A30 4ED1 jmp [A1]
fn00001A32:
00001A32 4E56 FFCE link A6, -0x0032
00001A36 204F movea.l A0, A7
00001A38 316E 000C 0018 move.w [A0 + 0x18], [A6 + 0xC]
00001A3E A018 syscall GetFPos
00001A40 3D40 000E move.w [A6 + 0xE], D0
00001A44 226E 0008 movea.l A1, [A6 + 0x8]
00001A48 22A8 002E move.l [A1], [A0 + 0x2E]
00001A4C 4E5E unlink A6
00001A4E 225F movea.l A1, [A7]+
00001A50 5C8F addq.l A7, 6
00001A52 4ED1 jmp [A1]
fn00001A54:
00001A54 4E56 FFCE link A6, -0x0032
00001A58 204F movea.l A0, A7
00001A5A 316E 000E 0018 move.w [A0 + 0x18], [A6 + 0xE]
00001A60 316E 000C 002C move.w [A0 + 0x2C], [A6 + 0xC]
00001A66 216E 0008 002E move.l [A0 + 0x2E], [A6 + 0x8]
00001A6C A044 syscall SetFPos
00001A6E 3D40 0010 move.w [A6 + 0x10], D0
00001A72 4E5E unlink A6
00001A74 225F movea.l A1, [A7]+
00001A76 508F addq.l A7, 8
00001A78 4ED1 jmp [A1]
fn00001A7A:
00001A7A 225F movea.l A1, [A7]+
00001A7C 7200 moveq.l D1, 0x00
00001A7E 322F 0004 move.w D1, [A7 + 0x4]
00001A82 2078 034E movea.l A0, [0x0000034E /* FCBSPtr */]
00001A86 3038 03F6 move.w D0, [0x000003F6 /* FSFCBLen */]
00001A8A 6B04 bmi +0x6 /* 00001A90 */
00001A8C 82C0 divu.w D1, D0
00001A8E 6004 bra +0x6 /* 00001A94 */
label00001A90:
00001A90 82FC 005E divu.w D1, 0x5E /* '^' */
label00001A94:
00001A94 4841 swap.w D1
00001A96 5541 subq.w D1, 2
00001A98 6614 bne +0x16 /* 00001AAE */
00001A9A 302F 0004 move.w D0, [A7 + 0x4]
00001A9E B050 cmp.w D0, [A0]
00001AA0 640C bcc +0xE /* 00001AAE */
00001AA2 2070 0014 movea.l A0, [A0 + D0.w + 0x14]
00001AA6 3028 004E move.w D0, [A0 + 0x4E]
00001AAA 7200 moveq.l D1, 0x00
00001AAC 6006 bra +0x8 /* 00001AB4 */
label00001AAE:
00001AAE 7000 moveq.l D0, 0x00
00001AB0 323C FFCD move.w D1, 0xFFCD
label00001AB4:
00001AB4 2057 movea.l A0, [A7]
00001AB6 3080 move.w [A0], D0
00001AB8 5C4F addq.w A7, 6
00001ABA 3E81 move.w [A7], D1
00001ABC 4ED1 jmp [A1]
00001ABE 202F 0004 move.l D0, [A7 + 0x4]
00001AC2 222F 0008 move.l D1, [A7 + 0x8]
fn00001AC6:
00001AC6 2F02 move.l -[A7], D2
00001AC8 2400 move.l D2, D0
00001ACA C4C1 mulu.w D2, D1
00001ACC 2042 movea.l A0, D2
00001ACE 2401 move.l D2, D1
00001AD0 4842 swap.w D2
00001AD2 C4C0 mulu.w D2, D0
00001AD4 4840 swap.w D0
00001AD6 C2C0 mulu.w D1, D0
00001AD8 D441 add.w D2, D1
00001ADA 4842 swap.w D2
00001ADC 4242 clr.w D2
00001ADE D1C2 add.l A0, D2
00001AE0 2008 move.l D0, A0
00001AE2 241F move.l D2, [A7]+
00001AE4 4E75 rts
00001AE6 222F 0004 move.l D1, [A7 + 0x4]
00001AEA 202F 0008 move.l D0, [A7 + 0x8]
fn00001AEE:
00001AEE 4EBA 000E jsr [PC + 0xE /* 00001AFE */]
00001AF2 2001 move.l D0, D1
00001AF4 4E75 rts
00001AF6 222F 0004 move.l D1, [A7 + 0x4]
00001AFA 202F 0008 move.l D0, [A7 + 0x8]
fn00001AFE:
00001AFE 48E7 0600 movem.l -[A7], D5,D6
00001B02 2A00 move.l D5, D0
00001B04 6A02 bpl +0x4 /* 00001B08 */
00001B06 4480 neg.l D0
label00001B08:
00001B08 2C01 move.l D6, D1
00001B0A 6A02 bpl +0x4 /* 00001B0E */
00001B0C 4481 neg.l D1
label00001B0E:
00001B0E 4EBA 001C jsr [PC + 0x1C /* 00001B2C */]
00001B12 4A85 tst.l D5
00001B14 6A02 bpl +0x4 /* 00001B18 */
00001B16 4480 neg.l D0
label00001B18:
00001B18 BB86 xor.l D6, D5
00001B1A 6A02 bpl +0x4 /* 00001B1E */
00001B1C 4481 neg.l D1
label00001B1E:
00001B1E 4CDF 0060 movem.l D5,D6, [A7]+
00001B22 4E75 rts
00001B24 222F 0004 move.l D1, [A7 + 0x4]
00001B28 202F 0008 move.l D0, [A7 + 0x8]
fn00001B2C:
00001B2C 48E7 3800 movem.l -[A7], D2,D3,D4
00001B30 2401 move.l D2, D1
00001B32 4842 swap.w D2
00001B34 4A42 tst.w D2
00001B36 661C bne +0x1E /* 00001B54 */
00001B38 3600 move.w D3, D0
00001B3A 4240 clr.w D0
00001B3C 4840 swap.w D0
00001B3E 6704 beq +0x6 /* 00001B44 */
00001B40 80C1 divu.w D0, D1
00001B42 3400 move.w D2, D0
label00001B44:
00001B44 4842 swap.w D2
00001B46 3003 move.w D0, D3
00001B48 80C1 divu.w D0, D1
00001B4A 3400 move.w D2, D0
00001B4C 2202 move.l D1, D2
00001B4E 4240 clr.w D0
00001B50 4840 swap.w D0
00001B52 6022 bra +0x24 /* 00001B76 */
label00001B54:
00001B54 2400 move.l D2, D0
00001B56 4240 clr.w D0
00001B58 4840 swap.w D0
00001B5A 4842 swap.w D2
00001B5C 4242 clr.w D2
00001B5E 2601 move.l D3, D1
00001B60 7200 moveq.l D1, 0x00
00001B62 780F moveq.l D4, 0x0F
label00001B64:
00001B64 D482 add.l D2, D2
00001B66 D180 addx.l D0, D0
00001B68 D281 add.l D1, D1
00001B6A B083 cmp.l D0, D3
00001B6C 6504 bcs +0x6 /* 00001B72 */
00001B6E 9083 sub.l D0, D3
00001B70 5201 addq.b D1, 1
label00001B72:
00001B72 51CC FFF0 dbf D4, -0x12 /* 00001B64 */
label00001B76:
00001B76 4CDF 001C movem.l D2,D3,D4, [A7]+
00001B7A 4E75 rts
fn00001B7C:
00001B7C 303C 2810 move.w D0, 0x2810
00001B80 7200 moveq.l D1, 0x00
label00001B82:
00001B82 42A7 clr.l -[A7]
00001B84 2F2F 0008 move.l -[A7], [A7 + 0x8]
00001B88 486F 0004 pea.l [A7 + 0x4]
00001B8C 3F00 move.w -[A7], D0
00001B8E A9EB syscall Pack4/FP68K
00001B90 201F move.l D0, [A7]+
00001B92 E2B8 ror D0, D1
00001B94 4E75 rts
00001B96 303C 2010 move.w D0, 0x2010
00001B9A 7210 moveq.l D1, 0x10
00001B9C 60E4 bra -0x1A /* 00001B82 */
fn00001B9E:
00001B9E 2F17 move.l -[A7], [A7]
00001BA0 42AF 0004 clr.l [A7 + 0x4]
00001BA4 486F 0004 pea.l [A7 + 0x4]
00001BA8 2F2F 0010 move.l -[A7], [A7 + 0x10]
00001BAC 3F3C 300E move.w -[A7], 0x300E
00001BB0 A9EB syscall Pack4/FP68K
00001BB2 2E9F move.l [A7], [A7]+
00001BB4 4E75 rts